OFFSET
1,1
PROG
(PARI) lista(nn) = {my(n=0, list = List()); for(i=1, nn, m=(10^i-1)/9; for(x=0, 9, if(((n+(x*10^(i-1)))^3)%(10^i)==m, n=n+(x*10^(i-1)); if (x==0, listput(list, i-1)); break; ); ); ); Vec(list); }
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Marcus, Apr 25 2022
STATUS
approved