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

 


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A022326 a(n) = a(n-1) + a(n-2) + 1, with a(0) = 1 and a(1) = 12. 1
1, 12, 14, 27, 42, 70, 113, 184, 298, 483, 782, 1266, 2049, 3316, 5366, 8683, 14050, 22734, 36785, 59520, 96306, 155827, 252134, 407962, 660097, 1068060, 1728158, 2796219, 4524378, 7320598, 11844977
(list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
From R. J. Mathar, Apr 07 2011: (Start)
G.f.: (1+10*x-10*x^2)/((1-x)*(1-x-x^2)).
a(n) = A022116(n) - 1. (End)
a(n) = 2*F(n+2) + 9*F(n) - 1, where F = A000045. - G. C. Greubel, Aug 25 2017
a(n) = 2*a(n-1)-a(n-3). - Wesley Ivan Hurt, Apr 11 2022
MATHEMATICA
LinearRecurrence[{2, 0, -1}, {1, 12, 14}, 50] (* G. C. Greubel, Aug 25 2017 *)
PROG
(PARI) x='x+O('x^50); Vec((1+10*x-10*x^2)/((1-x)*(1-x-x^2))) \\ G. C. Greubel, Aug 25 2017
CROSSREFS
Sequence in context: A019292 A175886 A181451 * A307167 A238228 A214504
KEYWORD
nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 18 20:35 EDT 2024. Contains 376002 sequences. (Running on oeis4.)