login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A239222 Cubes that are divisible by each of their nonzero digits. 4
1, 8, 216, 1000, 2744, 8000, 13824, 74088, 125000, 216000, 512000, 1000000, 1061208, 2000376, 2299968, 2744000, 4741632, 5832000, 8000000, 8242408, 8489664, 9261000, 10941048, 12812904, 13824000, 14886936, 16003008, 19683000, 34012224, 40001688, 42144192 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Intersection of A000578 and A002796.

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

Cf. A239219, A239220, A239221.

Cf. A000578, A002796.

Sequence in context: A224103 A072159 A016827 * A275023 A163289 A060459

Adjacent sequences:  A239219 A239220 A239221 * A239223 A239224 A239225

KEYWORD

nonn,base

AUTHOR

Colin Barker, Mar 12 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 22 14:02 EST 2020. Contains 331149 sequences. (Running on oeis4.)