OFFSET
1,2
COMMENTS
The least difference between consecutive self numbers is 2 (see Griffin N. Macris's proof at A010061 that may be adapted to other bases).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
seq[max_] := Module[{c = Complement[Range[max], Table[n + DigitSum[n], {n, 1, max}]], d, ind}, d = Differences[c]; ind = Position[d, 2] // Flatten; c[[ind]]]; seq[5000]
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Amiram Eldar, Jun 28 2024
STATUS
approved