login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A035138 Integers that are equal to the sum of ascending numbers raised to their digits powers. 5
1, 594, 746, 986, 1000000009 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

Harvey Heinz, Narcissistic Numbers

EXAMPLE

594: 1^5 + 2^9 + 3^4 = 1 + 512 + 81 = 594.

MATHEMATICA

A035138 = {}; Do[d = IntegerDigits[n]; If[Total[Range[Length[d]]^d] == n, AppendTo[A035138, n]], {n, 1000}]; A035138 (* Jayanta Basu and Giovanni Resta, May 12 2013 *)

PROG

(PARI) isok(n) = my(d=digits(n)); sum(k=1, #d, k^d[k]) == n; \\ Michel Marcus, Feb 24 2017

CROSSREFS

Cf. A032799.

Sequence in context: A294713 A025338 A025330 * A206211 A200434 A241876

Adjacent sequences:  A035135 A035136 A035137 * A035139 A035140 A035141

KEYWORD

nonn,fini,base,full

AUTHOR

Patrick De Geest, Nov 15 1998

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 January 24 13:05 EST 2022. Contains 350538 sequences. (Running on oeis4.)