OFFSET
0,2
COMMENTS
While repunit-squares are palindromic, squares of near repdigits provide other curious digit-patterns.
LINKS
Index entries for linear recurrences with constant coefficients, signature (111, -1110, 1000).
FORMULA
a(n) = A033175(n)^2.
From Chai Wah Wu, Nov 09 2018: (Start)
a(n) = 111*a(n-1) - 1110*a(n-2) + 1000*a(n-3) for n > 2.
G.f.: (-4000*x^2 - 850*x - 1)/((x - 1)*(10*x - 1)*(100*x - 1)). (End)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Labos Elemer, Oct 20 2004
STATUS
approved