login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A225810 a(n) = (10^n)^2 + 4*(10^n) + 1. 1
6, 141, 10401, 1004001, 100040001, 10000400001, 1000004000001, 100000040000001, 10000000400000001, 1000000004000000001, 100000000040000000001, 10000000000400000000001, 1000000000004000000000001, 100000000000040000000000001, 10000000000000400000000000001 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
This is an instance of (10^n)^2 + x(10^n) + 1 which umbrellas A066138, A033934, A171375, A171410, A171461, A171513 and A171553 which all produce palindromes of the form 1...n...1 when n <> 0.
LINKS
FORMULA
a(n) = 111*a(n-1)-1110*a(n-2)+1000*a(n-3). - Colin Barker, Apr 27 2015
G.f.: -3*(470*x^2-175*x+2) / ((x-1)*(10*x-1)*(100*x-1)). - Colin Barker, Apr 27 2015
MATHEMATICA
Table[(10^n)^2 + 4*(10^n) + 1, {n, 0, 20}] (* T. D. Noe, Aug 12 2013 *)
LinearRecurrence[{111, -1110, 1000}, {6, 141, 10401}, 20] (* Harvey P. Dale, Oct 28 2017 *)
PROG
(PARI) Vec(-3*(470*x^2-175*x+2)/((x-1)*(10*x-1)*(100*x-1)) + O(x^100)) \\ Colin Barker, Apr 27 2015
CROSSREFS
Sequence in context: A059488 A241015 A245986 * A067196 A286446 A048863
KEYWORD
nonn,easy
AUTHOR
Lance J. Weingartz, Jul 29 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 12:52 EDT 2024. Contains 371711 sequences. (Running on oeis4.)