Skip to main content

Problem Solving : Cryptarithmatic Problem 1 :Find the value of P from [ A L E * R U M = E R M P N E]


ALE

* RUM

------------


W I N E

W U W L

E W W E

--------------------
E R M P N E

______________


Here is the solution: 0 to 9 , 10 numbers Should be replaced with those following Characters A, L, E, R, U, M, W, I, N, P so 10 characters replaced with 10 digits from 0 to 9 Consider M * ALE = WINE

and U * ALE = WUWL


and R * ALE = EWWE

See in last R *ALE = EWWE

R * E = E will be last digit so it possible only by multiplication of 5 with odd values so 1 * 5 or 


3* 5 or 7*5 and 9*5 = last unit digit always 5 so E = 5 but 5* 5 not possible because R is not 

equal to W.....and look at multiplied value N + L = N so any value on addition with 0 will give 

you result as same hence N + 0 = N then L = 0

so remaining A and R are left R possible values are R = 1, 3, 7, 9 but 1 is not possible because 


1 * ALE is equal to ALE and R = 3, 7, 9 are possible......

Already we know that E = 5 and L = 0 then

R * A05 = 5WW5 (apply logic here with R = 3, 7 , 5)

for example R =3 means 3 * A05 = (51)15 (EWWE) so 3 not possible because 3 multiple with 


anyother number ust give result as 51 so it's impossible

R= 7 then 7 *A05 = (53)35 again 7 also not possible because multiplication of 7 never give the 


value 53

so R= 9 then 9*A05 = (54)45 but look at it 9 is possible because if 6*9 =54 so A= 6 hence then 


we found all values

9 * 605 = 5445 upto here we know that A= 6 L=0 E=5 R=9 and W = 4 remaining possible digits 


are (1, 2,3,7,8)

605*9UM
------------
4IN5
4U40
5445
--------------------
5RMPN5

look at U * 605 = 4U40

U*5 =40 so U = 8 hence 8 *605 = 4840 remaining digits are (1,2,3,7)

and look at 605 * M = 4IN5 here M is not 1 because 1 * 605 is 605 but not possible because


4IN5 as well as 2 is not also not possible because 2 * 5 = (1)0 in unit digit o not possible 

because 4IN5 hence 3 and 7 are possible so


if M=3


3 * 605 = 1815 = 4IN5 so 3 also not possible because 4IN5 not matched with 1815

hence M=7 then 7 * 605 = 4235 = 4IN5 hence pattern has been matched so M=7 and I = 2 and 


finally N = 3....

now what is the remaining digit only 1 hence you can quickly answer that (P = 1)

so totally we got A= 6 L=0 E=5 R=9 W = 4 M=7 and I = 2 and finally N = 3

605*987
------------
4235
4840
5445
--------------------
597135

hence here you will get P = 1

Comments

Popular posts from this blog

Java Swing MySql JDBC: insert data into database

Program import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.sql.*; public class insertswing implements ActionListener {   JFrame fr;JPanel po;   JLabel l1,l2,main;   JTextField tf1,tf2;   GridBagConstraints gbc;   GridBagLayout go;   JButton ok,exit; public insertswing(){ fr=new JFrame("New User Data "); Font f=new Font("Verdana",Font.BOLD,24); po=new JPanel(); fr.getContentPane().add(po); fr.setVisible(true); fr.setSize(1024,768); fr.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); po.setBackground(Color.WHITE); go=new GridBagLayout(); gbc=new GridBagConstraints(); po.setLayout(go); main=new JLabel("Enter User Details "); main.setFont(f); l1=new JLabel("Name  :");tf1=new JTextField(20); l2=new JLabel("User Name  :");tf2=new JTextField(20); ok=new JButton("Accept"); exit=new JButton("Exit"); gbc.anchor=GridBagConstraints.NORTH;gbc.gridx=5;gbc.gridy=0; go.s...

Guidewire Policy - Spin Up Spin Off Transactions

Guidewire PolicyCenter - Spin Up and Spin Off Policy Job Transactions In Guidewire PolicyCenter, "spin up" and "spin off" refer to specific actions you can take with policy job transactions. These terms are related to how new policy transactions (such as renewals, endorsements, or cancellations) are created or modified. Here's an explanation of each: 1. Spin Up: "Spin up" refers to the process of creating a new policy job from an existing policy or transaction. When you "spin up" a policy job, you're essentially initiating a new transaction based on an existing policy. This new transaction could be a renewal, an endorsement, or any other type of policy change. For example: - Renewal : When a policy's term is about to expire, you might "spin up" a renewal job to create a new policy term based on the existing one. The new job will carry forward much of the existing policy's data but may allow for updates or cha...

Guidewire Reinstatement and Rewrite

Guidewire Reinstatement, Rewrite Mid Term, Rewrite Full Term, and Rewrite New Term In Guidewire PolicyCenter, different types of policy transactions allow users to modify, renew, reinstate, or rewrite policies under various circumstances. Here̢۪s an explanation of Reinstatement, Rewrite Mid Term, Rewrite Full Term, and Rewrite New Term, along with their similarities, differences, and example scenarios. 1. Reinstatement Definition: - Reinstatement is a process that brings a canceled policy back into force. This is typically done after a policy has been canceled due to non-payment or other reasons, and the insurer agrees to reinstate the policy, often after the insured has met certain conditions (e.g., paying outstanding premiums). Scenario Example: - A policyholder misses their premium payment, and the policy is canceled. After paying the overdue amount, the insurer reinstates the policy without any changes to the original policy terms and conditions. Key Points: - The poli...