OFFSET
1,2
COMMENTS
Except a(2)=2, all other terms contain digits 1 or 0.
Almost the same as A104459. - Georg Fischer, Apr 17 2025
LINKS
FORMULA
From Elmo R. Oliveira, May 22 2026: (Start)
G.f.: x*(1 + 2*x + x^2 - 10*x^3)/(1 - 10*x^2).
a(n) = 10*a(n-2) for n > 4.
a(1)=1, a(2)=2; a(n) = 11*10^((n-3)/2) if n odd >= 3; a(n) = 10^((n/2)-1) if n even >= 4. (End)
EXAMPLE
11 comes before 10 as 11 = 22-11 and 10 = 111-101, 11 occurs earlier to 10 as a successive palindrome difference.
MATHEMATICA
LinearRecurrence[{0, 10}, {1, 2, 11, 10}, 50] (* Georg Fischer, Apr 17 2025 *)
CROSSREFS
KEYWORD
base,nonn,easy,changed
AUTHOR
Amarnath Murthy, Jul 09 2005
EXTENSIONS
More terms from Erich Friedman, Aug 08 2005
Offset changed by Andrew Howroyd, Sep 17 2024
More terms from Elmo R. Oliveira, May 22 2026
STATUS
approved
