OFFSET
1,1
EXAMPLE
24 is a term because 2^3 + 4^2 = 8+16 = 1 * 24.
111 is a term because 11^3 + 1^2 = 1331 + 1 = 1332 = 12 * 111.
94987 is a term because 94^3 + 987^2 = 830584 + 974169 = 1804753 = 19 * 94987.
PROG
(PARI) isok(n)={my(x=n, y=0, k=1); while(x >= 10, y+=x%10*k; x\=10; if(y>=k&&(x^3 + y^2)%n==0, return(1)); k*=10); 0}
{ for(n=1, 10^5, if(isok(n), print1(n, ", "))) } \\ Andrew Howroyd, Apr 17 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Claudio Meller, Jul 03 2009
EXTENSIONS
Missing terms inserted by Andrew Howroyd, Apr 17 2021
STATUS
approved