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!)
A118547 Squares which are divisible by the sum of their digits. 3
1, 4, 9, 36, 81, 100, 144, 225, 324, 400, 441, 576, 900, 1296, 1521, 1764, 2025, 2304, 2401, 2601, 2704, 2916, 3600, 3969, 4225, 4356, 4624, 5184, 6084, 6400, 7056, 7744, 8100, 9216, 10000, 10404, 10816, 11025, 11664, 12100, 12321, 12544, 13689, 14400 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Intersection of A000290 and A005349. - Michel Marcus, Feb 27 2014

LINKS

Amiram Eldar, Table of n, a(n) for n = 1..10000

EXAMPLE

576 = 24^2 is in the sequence because it is a square and it is divisible by the sum of its digits, 5+7+6 = 18.

MATHEMATICA

Select[Range[120]^2, Divisible[#, Plus @@ IntegerDigits[#]] &] (* Amiram Eldar, Mar 24 2021 *)

PROG

(PARI) isok(n) = issquare(n) && !(n % sumdigits(n)); \\ Michel Marcus, Feb 27 2014

CROSSREFS

Cf. A000290, A005349.

Sequence in context: A117756 A326182 A053057 * A115700 A029806 A133125

Adjacent sequences:  A118544 A118545 A118546 * A118548 A118549 A118550

KEYWORD

base,nonn

AUTHOR

Luc Stevens (lms022(AT)yahoo.com), May 03 2006

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 October 7 14:13 EDT 2022. Contains 357271 sequences. (Running on oeis4.)