Artificial Intelligence | Tutorial #2 | Crypt Arithmetic Problem (2023)


CryptArithmetic Problem. CryptArithmetic or verbal arithmetic is a class of mathematical puzzles in which the digits are replaced by letters of the alphabet or other symbols. #ArtificialIntelligence #CryptArithmeticProblem

If you would like to support this channel and my work through BHIM-UPI: 919870794639@federal

🐍𝑷𝒚𝒕𝒉𝒐𝒏 𝑺𝒌𝒊𝒍𝒍 𝑺𝒆𝒓𝒊𝒆𝒔 👉

🐙𝑫𝒆𝒆𝒑 𝑳𝒆𝒂𝒓𝒏𝒊𝒏𝒈 👉

🦾𝑴𝒂𝒄𝒉𝒊𝒏𝒆 𝑳𝒆𝒂𝒓𝒏𝒊𝒏𝒈 👉

🤖𝑨𝒓𝒕𝒊𝒇𝒊𝒄𝒊𝒂𝒍 𝑰𝒏𝒕𝒆𝒍𝒍𝒊𝒈𝒆𝒏𝒄𝒆 👉

☁️𝑪𝒍𝒐𝒖𝒅 𝑪𝒐𝒎𝒑𝒖𝒕𝒊𝒏𝒈 👉

📶𝑾𝒊𝒓𝒆𝒍𝒆𝒔𝒔 𝑻𝒆𝒄𝒉𝒏𝒐𝒍𝒐𝒈𝒚 👉

🛠️𝑫𝒂𝒕𝒂 𝑴𝒊𝒏𝒊𝒏𝒈 👉

⚙️𝑺𝒊𝒎𝒖𝒍𝒂𝒕𝒊𝒐𝒏 𝑴𝒐𝒅𝒆𝒍𝒊𝒏𝒈 👉

🐘𝑩𝒊𝒈 𝑫𝒂𝒕𝒂 👉

⛓️𝑩𝒍𝒐𝒄𝒌𝒄𝒉𝒂𝒊𝒏 𝑻𝒆𝒄𝒉𝒏𝒐𝒍𝒐𝒈𝒚 👉

💡𝑰𝑶𝑻 👉

𝓕𝓸𝓵𝓵𝓸𝔀 𝓶𝓮 𝓸𝓷 𝓘𝓷𝓼𝓽𝓪𝓰𝓻𝓪𝓶 👉
𝓥𝓲𝓼𝓲𝓽 𝓶𝔂 𝓟𝓻𝓸𝓯𝓲𝓵𝓮 👉
𝓢𝓾𝓹𝓹𝓸𝓻𝓽 𝓶𝔂 𝔀𝓸𝓻𝓴 𝓸𝓷 𝓟𝓪𝓽𝓻𝓮𝓸𝓷 👉


To use today we see the problem on arithmetic that is equipped, arithmetic problem.

Now, this problem is classified under the artificial intelligence.

So this problem is a full trial and error based problem.

So this will take and considerable amount of time to solve such kind of problems.

So I am going to show you how to solve a problem on cut arithmetic like this is the problem they are given like st., plus more is equal to money.

Now you do not understand basically waters the same plus mu is equal to money.

But this is how the correct arithmetic problem is basically structured.

So first for doing this will write each of the alphabets in the order like one alphabet at a time.

No repetition should be there like s, e and T and M Ori will not repeat the letters, which have already come like we have.

We will take only one occurrence of each of this letters.

And we will assign each of these letters from 0 to 9 like we have done for from s to F.

So after you do this now you have to basically assign this digits to this alphabets.

So for that, first for any of this problem, we first have to assign the leftmost alphabet as one now I will write the value of each alphabet here in bracket.

Now since M is 1, you will write here.

Also a 1 in M is 1 that is constant for sure.

Now you will search for M here, and you will circle it and make sure that you will cancel the all other ones like each of the alphabet can take only one digit and also M cannot take any other digits.

So we will cancel out all these next list that we have to solve this equation.

Now, how will you solve this equation? Now, obviously, if here it is a 1, there should be carry.

There should be a here like one should be carried down.

Now what gives you some value as a carry means? Obviously here it should be 10 like, oh, should be 0.

Then only could be 0 1 so 0 carry one.

Now for this thing should be to be 0.

We have to assign SS, 9 it's like 9, plus 1 gives you 10 that is 0 of the unit's place, and one should be carried here.

So this equation is somewhat solved half by the salt.

So after this make sure that you cancel out and assign, oh here, also so OS here.

So cancel all these zeros as well as cancel this.

Now, this is a matrix or this is the reference that your numbers have been consolidated.

And so you can stress on this.

You should not have any conclusions regarding this.

It is a very easy if we just circle and cancel out the rest of the possibilities.

Now the numbers left are two three, four, five, six, seven, eight, nine out of this zeroing.

One has been ruled out now after this, we are also have s.

So s, we Circle it as 9 and cancel all the other minds as well as we will cancel all these.

Now the numbers left are 2, 3, 4 5, 6, 7, & 8.

Now we have to assign these numbers to this.

This is now, how will you assign this? Now if we talk about now we will start with 2 if you assign 2 to e, then 2, plus 0 gives you 2, but each alphabet can take only 1 single digits.

So II cannot be if E is 2.

Then n cannot be 2.

N should be certainly some other value.

So no equation or no balancing can be done.

Yeah, if you carry a 1 here, then that would be a difficult task.

So too should not be there or too will not come here.

If you put three also, then also it will create such kind of problem.

So three also is not the possible or the compatible value or the digit to this next.

You cannot try for also.

It will also be the same, but a middle value of five.

You can assign five here, and you can assign five here also.

And so here E is five.

Now, this value should be something else now Phi, plus zero cannot be five.

So II cannot be 5.

N cannot be fine now for this, you will add a carry.

Here means 5, plus 1, 6, so n should be 6 here.

Now let us check whether this is right so that we will come to know after you move towards the right hand side of this equation.

Now after this, if any six means here, also it is 6 and now mind you this is 5.

So if it does like 6, plus 8 means also take a value of 8.

So 6, plus 8 is 14, but here it is 5.

So it should be 15.

So you have to add a carry 1 wins from here.

You had a carry.

Here means 6, plus 1 7, 7, plus 8 is 15.

And this 5 carry 1 here, Phi, plus 1 6.

And this equation is balanced now.

Now we have to assign for the what value we assign to D now left out this.

So we will cancel it like n is 6 so n is 6 and cancel all other values as well as and cannot take all these.

So cancel it out as well as E is 5.

So E is 5 and in his files.

So cancel this next is you have to assign d.

How will you assign d, you cannot assign same digit, or he cannot assign 9 because 9 already has taken by his so left of this 7 that is possible.

It is 7, plus 5 is 12.

So two should come here.

And one is a carry here.

6, plus 1 7, 7, plus 8 is 15, 15 plus minus that is our carry will be there 5, plus 1 6.

So it is 6 and 9 plus 1 that is 10.

Now this is separate as 2 edges.

We have done separately.

And this is the main part so I draw a line here.

So this is, this is the preliminary step.

This is a first step you have to do.


This is the step after this now for doing this.

Now we will cancel out the D also so D turns out to be 7 and so cancel out all these sevens.

And this also, yeah, so we do not require 2 3 4 also.

So we just cancel out it.

So you have, you can see from the graph we have used 0 1 5, 6, 7 as the last night and to also certainly to was for by this was for Y.

And again, yeah.

So now you will tell you this how to tell it is just add the numbers which I have written in brackets.

So like 9 5, 6, 7, plus 1 0 8 5.

Now you have to add this.

Simple addition 7, plus 5 is 12 carry 115 1, 6, 1 0.

So this turns out to be same 1 0 6, 5 2 1, 0, 6, 5 2.

So this says that this equation which are solved by trial and error.

So this problem is completely based on trial and error.

So you have to do this at times.

Then only you will arrive at a feasible solution.

So this is the crypt arithmetic problem in detail.

So it will take a considerable amount of time to solve.

So hope you enjoyed this video.

If you found this video helpful, please hit the like button.

And if you haven't subscribed to my channel, please subscribe.

Thanks for watching this video.


What is the arithmetic problem in AI? ›

The Crypt-Arithmetic problem in Artificial Intelligence is a type of encryption problem in which the written message in an alphabetical form which is easily readable and understandable is converted into a numeric form which is neither easily readable nor understandable.

How do you solve a Cryptarithmetic puzzle? ›

Rules for Solving Cryptarithmetic Problems
  1. Each Letter, Symbol represents only one digit throughout the problem.
  2. Numbers must not begin with zero i.e. 0567 (wrong), 567 (correct).
  3. The aim is to find the value of each letter in the Cryptarithmetic problems.
  4. There must be only one solution to the Cryptarithmetic problems.
Jun 1, 2023

What is the crypt arithmetic method? ›

Crypt arithmetic is a mathematical genre, where all the digits are replaced by any other symbol or the letters of an alphabet, and if the same letter reappears in a word, then it must be allotted the similar digit or a number, each time when it is being used.

What is crypt arithmetic using constraint satisfaction problem? ›

In the literature of Artificial Intelligence, cryptarithmetic puzzles are generally discussed as a kind of the Constraint Satisfaction Problems (CPSs) in which a solution to a given problem is represented by a problem state that meets of all the problem constraints.

What is the hardest arithmetic problem? ›

x3+y3+z3=k, with k being all the numbers from one to 100, is a Diophantine equation that's sometimes known as "summing of three cubes."

Why can't AI solve math problems? ›

These AIs learn their data well, but they cannot extrapolate strict 'rules' from the data. Addition is a simple 'rule', but it cannot comprehend this rule. Neural networks cannot learn rules simply because they are not designed to do so.

Which puzzle cannot be solved? ›

Mutilated chessboard problem – Place 31 dominoes of size 2×1 on a chessboard with two opposite corners removed. Coloring the edges of the Petersen graph with three colors. Seven Bridges of Königsberg – Walk through a city while crossing each of seven bridges exactly once.

Is there any trick to solve puzzles? ›

A popular strategy is to put the edges of the puzzle together first because, with one straight edge, the pieces are easier to identify and put together. “There isn't a single strategy that will work for 100 percent of puzzles, but in the majority of cases, it is easiest to start with the edge,” McLeod says.

How do you master arithmetic? ›

How to Master Math: 7 Tips & Tricks
  1. Practice Hard.
  2. Master the Basics and Concepts.
  3. Do Not Allow Negative Biases to Take Over Your Mind.
  4. Self-study is the Key.
  5. Familiarize Yourself With Ways to Calculate Faster.
  6. Apply Math to Real-life Problems.
  7. Create a Math Dictionary.
Mar 23, 2022

How is the father of arithmetic? ›

An Indian mathematician and astronomer Brahmagupta is known as the Father of Arithmetic.

What is a cryptarithmetic problem using constraint satisfaction in AI? ›

Cryptarithmetic Problem is a type of constraint satisfaction problem where the game is about digits and its unique replacement either with alphabets or other symbols. In cryptarithmetic problem, the digits (0-9) get substituted by some possible alphabets or symbols.

What are the four constraints to problem solving? ›

Four of the most common processes and factors are mental set, functional fixedness, unnecessary constraints and irrelevant information.

Which algorithm is generally used in constraint satisfaction problem? ›

The basic algorithm is sim- ple backtracking (BT) 12], a general search strategy which has been widely used in problem solving. In solving CSPs, it also serves as the basis for many other algorithms.

What is an example of a constraint satisfaction problem? ›

We call such problems Constraint Satisfaction (CS) Problems. For example, in a crossword puzzle it is only required that words that cross each other have the same letter in the location where they cross. It would be a general search problem if we require, say, that we use at most 15 vowels.

What is the arithmetic problem? ›

This category includes addition, subtraction, multiplication, and division as well as percent problems, decimal recognition, fraction and percent equivalences, and estimation problems.

What is the meaning of arithmetic problems? ›

mathematics dealing with numerical calculations

If you're good at adding, subtracting, dividing, and multiplying, then you're good at arithmetic, which is a big part of math. Arithmetic has to do with doing calculations. To answer most math problems, including almost all word problems, you need arithmetic.

What are the three types of problems in AI? ›

The most prevalent problem types are classification, continuous estimation and clustering. I will try and give some clarification about the types of problems we face with AI and some specific examples for applications.

What is an example of a arithmetic sequence problem? ›

The sequence has a common difference of 5 5 5. To get to the next term, add the previous term by 5 5 5. For example, from 4 4 4 to 9 9 9, you add 5 5 5 to 4 4 4 to get to 9 9 9. That is, 4 + 5 = 9 4 + 5 = 9 4+5=9.

Top Articles
Latest Posts
Article information

Author: Pres. Carey Rath

Last Updated: 11/08/2023

Views: 5307

Rating: 4 / 5 (41 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Pres. Carey Rath

Birthday: 1997-03-06

Address: 14955 Ledner Trail, East Rodrickfort, NE 85127-8369

Phone: +18682428114917

Job: National Technology Representative

Hobby: Sand art, Drama, Web surfing, Cycling, Brazilian jiu-jitsu, Leather crafting, Creative writing

Introduction: My name is Pres. Carey Rath, I am a faithful, funny, vast, joyous, lively, brave, glamorous person who loves writing and wants to share my knowledge and understanding with you.