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!)
A164826 Sequences A087800 and A077416 interleaved. 0
2, 1, 12, 13, 142, 155, 1692, 1847, 20162, 22009, 240252, 262261, 2862862, 3125123, 34114092, 37239215, 406506242, 443745457, 4843960812, 5287706269, 57721023502, 63008729771, 687808321212, 750817050983, 8195978831042 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = a(n-1)+a(n-2) for n even, a(n) = 10*a(n-1)+a(n-2) for n odd; with a(1) = 2, a(2) = 1.
a(n) = 12*a(n-2)-a(n-4). G.f.: x*(x^3-12*x^2+x+2) / (x^4-12*x^2+1). [Colin Barker, Feb 18 2013]
MATHEMATICA
LinearRecurrence[{0, 12, 0, -1}, {2, 1, 12, 13}, 30] (* Harvey P. Dale, Oct 02 2017 *)
CROSSREFS
Sequence in context: A278330 A048854 A151508 * A055392 A045873 A371637
KEYWORD
nonn,easy,less
AUTHOR
Mark Dols, Aug 27 2009
EXTENSIONS
Better name by Paul Muljadi, Jan 13 2011
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 23 09:22 EDT 2024. Contains 371905 sequences. (Running on oeis4.)