OFFSET
1,2
COMMENTS
a(36) >= 423378.
Please consult the argument in A067863 for the reason that it is believed that all individual such sequences (all k's which divide b^k) terminate.
FORMULA
If a(n) = k, then a(10*n) = k.
EXAMPLE
a(2) = 70 since the sum of digits of 2^70 is divisible by 70 and it is believed that there does not exist any larger exponent which satisfies this criterion.
MATHEMATICA
For any individual base, b, fQ[n_] := Mod[Plus @@ IntegerDigits[b^n], n] == 0; k = 1; lst = {}; While[k < 100001, If[ fQ@ k, AppendTo[lst, k]; Print[k]]; k++]; lst
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Dec 12 2012
EXTENSIONS
Definition and example corrected by Giovanni Resta, Dec 14 2012
STATUS
approved