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
AUTHOR
Kevin L. Schwartz and Christian N. K. Anderson, Apr 26 2013
STATUS
approved