OFFSET
1,3
COMMENTS
1% of the nonnegative integers are in the sequence, approximatively.
Up to 10^k there are exactly 1 + (10^k + 800)/90 terms. - Giovanni Resta, Apr 12 2017
LINKS
Jean-Marc Falcoz, Table of n, a(n) for n = 1..10001
EXAMPLE
The digital root of 99 is 9 and "9" is the first and last digit of "99", so 99 is in the sequence.
The digital root of 100 is 1 and "1" is not the last digit of "100", so 100 is not in the sequence.
The digital root of 181 is 1 and "1" is the first and last digit of "181", so 181 is in the sequence.
Etc.
MATHEMATICA
{0} ~ Join ~ Select[Range[10^4], IntegerDigits[#][[{1, -1}]] == {1, 1} (Mod[#-1, 9] + 1) &] (* Giovanni Resta, Apr 12 2017 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Apr 12 2017
STATUS
approved