|
| |
|
|
A061910
|
|
Numbers n such that sum of digits of n^2 is a square.
|
|
22
| |
|
|
1, 2, 3, 6, 9, 10, 11, 12, 13, 14, 15, 18, 20, 21, 22, 23, 30, 31, 39, 41, 45, 48, 51, 58, 59, 60, 67, 68, 76, 77, 85, 86, 90, 94, 95, 100, 101, 102, 103, 104, 105, 110, 111, 112, 113, 120, 121, 122, 130, 131, 139, 140, 148, 150, 157, 158, 166, 175, 176, 180, 184, 185
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
LINKS
| Bruno Berselli, Table of n, a(n) for n = 1..1000
|
|
|
EXAMPLE
| 6^2 = 36 and 3+6 = 9 is a square. 13^2 = 169 and 1+6+9 = 16 is a square.
|
|
|
MAPLE
| readlib(issqr): f := []: for n from 1 to 200 do if issqr(convert(convert(n^2, base, 10), `+`)) then f := [op(f), n] fi; od; f;
|
|
|
PROG
| (MAGMA) [ n: n in [1..185] | IsSquare(&+Intseq(n^2)) ]; // Bruno Berselli, Jul 29 2011
(PARI) is(n)=n=eval(Vec(Str(n^2))); issquare(sum(i=1, #n, n[i])) \\ Charles R Greathouse IV, Jul 29 2011
|
|
|
CROSSREFS
| Cf. A007953, A004159, A061909, A061911, A061912.
Sequence in context: A097108 A140783 A094351 * A007086 A047404 A133555
Adjacent sequences: A061907 A061908 A061909 * A061911 A061912 A061913
|
|
|
KEYWORD
| nonn,base
|
|
|
AUTHOR
| Asher Auel (asher.auel(AT)reed.edu), May 17 2001
|
| |
|
|