Lösung für Zahlenrätsel?

3 Antworten

A = 1

B = 0

C = 5

D = 0

E = 0

F = 0

G = 0

Eine Möglichkeit von vielen

Die einzige Lösung ist A=3, B=4, C=9, D=2, E=7, F=6 G=8:

5/34 + 9/12 + 7/68 = 1

Hab ich mit roher Gewalt gefunden:

#! /usr/bin/env python
from itertools import permutations

for A, B, C, D, E, F, G in permutations( (2,3,4,6,7,8,9) ):
 if 5*(10+D)*(10*F+G) + C*(10*A+B)*(10*F+G) + E*(10*A+B)*(10+D) == (10*A+B)*(10+D)*(10*F+G):
   print( "A=%d, B=%d, C=%d, D=%d, E=%d, F=%d G=%d" % (A, B, C, D, E, F, G) )

das hat bestimmt mehrere lösungen

ich würde erst mal a=1 u nd b=0 wählen

d ist auch 0

c ist 4, e=1, f=1, g=0

sind dann 5/10+4/10+1/10