[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A225065
Numbers of the form n^2 plus the sum of squared digits of n^2.
1
2, 20, 53, 54, 81, 90, 101, 116, 127, 146, 177, 258, 287, 314, 321, 353, 407, 416, 438, 474, 580, 639, 686, 690, 797, 863, 913, 922, 981, 1045, 1079, 1219, 1235, 1259, 1418, 1493, 1496, 1552, 1637, 1783, 1866, 2011, 2058, 2063, 2158, 2298, 2333, 2422, 2529
OFFSET
1,1
COMMENTS
Note that consecutive terms are not necessarily generated by consecutive values of n.
It appears that 146 is the only term that can be generated by two values of n (7 and 9). There are no other duplicates in the first 10000 terms.
LINKS
Christian N. K. Anderson, Table of n, a(n) for n = 1..10000
EXAMPLE
For n=11: 11^2=121; 121 + 1^2 + 2^2 + 1^2 = 127.
PROG
(R) sort(unique((1:101)^2+sapply((1:101)^2, function(x) sum(as.numeric(unlist(strsplit(as.character(x), split="")))^2))))
CROSSREFS
KEYWORD
nonn,base
STATUS
approved