login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A052010
Smallest k such that the sum of the digits of n each raised to k-th power is greater than n, or 0 if no such k exists.
0
0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 4, 3, 2, 2, 2, 2, 2, 2, 5, 5, 4, 3, 3, 2, 2, 2, 2, 2, 4, 4, 3, 3, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 0, 0, 7, 5, 4
OFFSET
0,3
EXAMPLE
103 needs k at least equal to 5 because 1^5 + 0^5 + 3^5 = 244 > 103.
CROSSREFS
Sequence in context: A117005 A263204 A194322 * A138471 A102669 A248327
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Nov 15 1999
STATUS
approved