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

Home > Numbers
Pandigital and Pretty Powerful III (Posted on 2009-05-12) Difficulty: 2 of 5
Determine all possible triplet(s) (P, Q, N) of positive integers, with P < Q and N ≥ 3, such that the decimal representations of PN and QN will together contain each of the digits 0 to 9 exactly once. Neither PN nor QN can contain any leading zero.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
computer solution | Comment 1 of 4

I used the following Mathematica code to find the only solution of

(21,93,3) which gives 21^3=9261 and 93^3=804357

For[q=2,q„T995,q++,

For[p=1,p<q,p++,

n=3;

v1=p^n;

v2=q^n;

dgts=Sort[Flatten[Append[IntegerDigits[v1],IntegerDigits[v2]]]];

While[Length[dgts]„T10,

If[dgtsƒú{0,1,2,3,4,5,6,7,8,9},

Print["(",p,",",q,",",n,") ",v1," ",v2];

];

n++;

v1=v1*p;

v2=v2*q;

dgts=Sort[Flatten[Append[IntegerDigits[v1],IntegerDigits[v2]]]];

];];];


  Posted by Daniel on 2009-05-12 13:10:34
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


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

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