login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A239213 Squares that are divisible by each of their nonzero digits. 4
1, 4, 9, 36, 100, 144, 324, 400, 784, 900, 1024, 1296, 1444, 1764, 2304, 2500, 2916, 3600, 9216, 10000, 10404, 11664, 12100, 12996, 14400, 19044, 22500, 24336, 26244, 28224, 32400, 36864, 39204, 40000, 41616, 44100, 48400, 69696, 78400, 82944, 90000, 93636 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Intersection of A000290 and A002796.
LINKS
EXAMPLE
39204 is in the sequence because 39204 is divisible by 3, 9, 2 and 4.
MATHEMATICA
dnzQ[n_]:=And@@Divisible[n, Select[IntegerDigits[n], #!=0&]]; Select[ Range[ 500]^2, dnzQ] (* Harvey P. Dale, Dec 04 2014 *)
PROG
(PARI) isOK(n) = my(v=vecsort(digits(n^2), , 8)); for(i=1+(v[1]==0), #v, if(n^2%v[i], return(0))); 1
s=[]; for(n=1, 1000, if(isOK(n), s=concat(s, n^2))); s
CROSSREFS
Sequence in context: A133125 A126161 A179934 * A346537 A339999 A018224
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)