OFFSET
1,2
COMMENTS
a(1) = 1, a(2) = 2, and for n > 2 a(n) is the smallest integer not yet present in the sequence such that the digital sum of a(n) + a(n-1) is a substring of the decimal digits of a(n-2).
LINKS
Charles R Greathouse IV, Table of n, a(n) for n=1..10000
Eric Angelini, Visible DigitSums (sequence U)
E. Angelini, Visible DigitSums [Cached copy, with permission]
EXAMPLE
a(1) = 1, so A007953(a(2) + a(3)) must have a "1" amongst its digits; the first non-repeat is 10, so a(3) = 8 so a(2) + a(3) = 10.
CROSSREFS
KEYWORD
AUTHOR
Charles R Greathouse IV and Eric Angelini, Mar 01 2010
STATUS
approved