962 - Taxicab Numbers

All about problems in Volume 9. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

New poster
Posts: 17
Joined: Mon May 15, 2006 12:24 pm
Location: Hyderabad, India

Thanks it compiled

Post by himanshu » Sun Oct 28, 2007 8:27 am


Experienced poster
Posts: 106
Joined: Thu Apr 26, 2007 2:40 pm
Location: CSE-SUST

Post by sapnil » Thu Nov 01, 2007 4:56 am

Is my alogorithm is right:

Code: Select all

1. store 1^3,2^3.....less than 1001000001 in array A
2. then i generate all distinct pair some of number in A(i also generate 1^3+1^3,2^3+2^3,..,) && store them.
3. Make a decision that if a sum occure more than ones then this is a taxi cab number
Keep posting
"Dream Is The Key To Success"

@@@ Jony @@@

Post Reply

Return to “Volume 9 (900-999)”