All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Go Fly Kites (Posted on 2025-01-22) Difficulty: 3 of 5
Solve this alphametic:
GO*FLY = KITES
where FLY is exactly divisible by GO.

No Solution Yet Submitted by K Sengupta    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Computer Solution | Comment 1 of 2
GO * FLY = KITES
27 * 594 = 16038
and 594/27 = 22

--------
from itertools import permutations
for perm in permutations([0,1,2,3,4,5,6,7,8,9]):
    G = perm[0]
    if G == 0:
        continue
    O = perm[1]
    F = perm[2]
    if F == 0:
        continue
    L = perm[3]
    Y = perm[4]
    K = perm[5]
    if K == 0:
        continue
    I = perm[6]
    T = perm[7]
    E = perm[8]
    S = perm[9]
    GO = 10*G+O
    FLY = 100*F+10*L+Y
    KITES = 10000*K+1000*I+100*T+10*E+S
    if GO*FLY != KITES:
        continue
    if FLY % GO != 0:
        continue
    print(GO,FLY,KITES, FLY/GO)


  Posted by Larry on 2025-01-22 14:07:17
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (1)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2025 by Animus Pactum Consulting. All rights reserved. Privacy Information