login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A069508
a(1) = 6; a(n) = smallest palindromic number of the form k*a(n-1) + 1 with k > 1.
6
6, 55, 111, 1111, 11111, 111111, 1111111, 11111111, 111111111, 1111111111, 11111111111, 111111111111, 1111111111111, 11111111111111, 111111111111111, 1111111111111111, 11111111111111111, 111111111111111111
OFFSET
0,1
FORMULA
a(n) = {10^(n)-1}/9 for n > 2.
From Chai Wah Wu, Jun 20 2016: (Start)
a(n) = 11*a(n-1) - 10*a(n-2) for n > 3.
G.f.: (440*x^3 - 434*x^2 - 11*x + 6)/((x - 1)*(10*x - 1)). (End)
MATHEMATICA
CoefficientList[Series[(440 x^3 - 434 x^2 - 11 x + 6) / ((x - 1) (10 x - 1)), {x, 0, 30}], x] (* Vincenzo Librandi, Jun 21 2016 *)
PROG
(Magma) I:=[6, 55, 111, 1111]; [n le 4 select I[n] else 11*Self(n-1)-10*Self(n-2): n in [1..25]]; // Vincenzo Librandi, Jun 21 2016
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, Mar 30 2002
EXTENSIONS
More terms from Patrick De Geest, Jun 11 2003
STATUS
approved