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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A239212 Numbers n such that n^2 is divisible by each of its nonzero digits. 4
 1, 2, 3, 6, 10, 12, 18, 20, 28, 30, 32, 36, 38, 42, 48, 50, 54, 60, 96, 100, 102, 108, 110, 114, 120, 138, 150, 156, 162, 168, 180, 192, 198, 200, 204, 210, 220, 264, 280, 288, 300, 306, 318, 320, 332, 336, 338, 342, 348, 350, 360, 372, 380, 390, 402, 408 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Colin Barker, Table of n, a(n) for n = 1..1000 EXAMPLE 198 is in the sequence because 198^2 = 39204 which is divisible by 3, 9, 2 and 4. 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))); s CROSSREFS Cf. A239210, A239211, A239213. Sequence in context: A140785 A038775 A065029 * A280558 A216920 A120754 Adjacent sequences:  A239209 A239210 A239211 * A239213 A239214 A239215 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.

Last modified July 28 23:26 EDT 2021. Contains 346340 sequences. (Running on oeis4.)