OFFSET
1,2
LINKS
Lars Blomberg, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A239221^(n)^3. - Michel Marcus, Mar 19 2014
EXAMPLE
74088 is in the sequence because 74088 is divisible by 4, 7 and 8.
MATHEMATICA
dedQ[n_]:=And@@Divisible[n, Select[IntegerDigits[n], #>0&]]; Select[ Range[ 400]^3, dedQ] (* Harvey P. Dale, Apr 25 2015 *)
PROG
(PARI) isOK(n) = my(v=vecsort(digits(n^3), , 8)); for(i=1+(v[1]==0), #v, if(n^3%v[i], return(0))); 1
s=[]; for(n=1, 1000, if(isOK(n), s=concat(s, n^3))); s
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Colin Barker, Mar 12 2014
STATUS
approved