login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A209303 Numbers of the form x^2 + SumOfSquaredDigits(x). 4
2, 8, 18, 32, 50, 72, 98, 101, 123, 128, 149, 162, 179, 213, 251, 293, 339, 389, 404, 443, 446, 492, 542, 596, 654, 716, 782, 852, 909, 926, 971, 1037, 1107, 1181, 1259, 1341, 1427, 1517, 1611, 1616, 1698, 1784, 1874, 1968, 2066, 2168, 2274, 2384, 2498, 2525 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Note that early terms are not always produced in order. For example, 162 is produced by x=9, but is the 12th term in the sequence. The last out-of-order term is a(30)=926, produced when x=29.

LINKS

Christian N. K. Anderson, Table of n, a(n) for n = 1..10000

Christian N. K. Anderson, Ulam Spiral of terms 1 to 500.

EXAMPLE

251 is in the sequence, because 15^2 + (1^2 + 5^2) = 251.

PROG

(R) sort((1:10000)^2+vapply(1:10000, sum(as.numeric(unlist(strsplit(as.character(as.bigz(x)), split="")))^2), 1))

CROSSREFS

Cf. A171613, A062028, A007770.

Sequence in context: A055044 A067051 A074629 * A001105 A051787 A050804

Adjacent sequences:  A209300 A209301 A209302 * A209304 A209305 A209306

KEYWORD

nonn,base

AUTHOR

Christian N. K. Anderson, Apr 22 2013

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 17 10:37 EST 2019. Contains 329225 sequences. (Running on oeis4.)