1,2

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

Table of n, a(n) for n=1..44.

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

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

Cf. A000290, A005349.

Sequence in context: A117756 A326182 A053057 * A115700 A029806 A133125

Adjacent sequences: A118544 A118545 A118546 * A118548 A118549 A118550

base,nonn

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

approved