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!)
A022403 a(0)=a(1)=3; thereafter a(n) = a(n-1) + a(n-2) + 1. 3
3, 3, 7, 11, 19, 31, 51, 83, 135, 219, 355, 575, 931, 1507, 2439, 3947, 6387, 10335, 16723, 27059, 43783, 70843, 114627, 185471, 300099, 485571, 785671, 1271243, 2056915, 3328159, 5385075, 8713235, 14098311, 22811547, 36909859, 59721407, 96631267, 156352675, 252983943, 409336619, 662320563 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
From R. J. Mathar, Mar 11 2011: (Start)
a(n+1) - a(n) = A022087(n).
G.f.: ( 3-3*x+x^2 ) / ( (x-1)*(x^2+x-1) ). (End)
a(n) = 4*Fibonacci(n+1) - 1. - G. C. Greubel, Mar 01 2018
a(n) = (-1 + (2^(1-n)*(-(1-sqrt(5))^(1+n) + (1+sqrt(5))^(1+n))) / sqrt(5)). - Colin Barker, Mar 02 2018
MATHEMATICA
Table[4*Fibonacci[n+1] -1, {n, 0, 31}] (* Vladimir Joseph Stephan Orlovsky, Apr 03 2011 *)
RecurrenceTable[{a[0]==a[1]==3, a[n]==a[n-1]+a[n-2]+1}, a, {n, 40}] (* or *) LinearRecurrence[{2, 0, -1}, {3, 3, 7}, 50] (* Harvey P. Dale, Jan 10 2021 *)
PROG
(PARI) for(n=0, 40, print1(4*fibonacci(n+1) -1, ", ")) \\ G. C. Greubel, Mar 01 2018
(Magma) [4*Fibonacci(n+1) - 1: n in [0..40]]; // G. C. Greubel, Mar 01 2018
CROSSREFS
See A022406 for a similar sequence.
Sequence in context: A292141 A362055 A358827 * A082550 A327397 A036056
KEYWORD
nonn
AUTHOR
EXTENSIONS
Terms a(32) onward added by G. C. Greubel, Mar 01 2018
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 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)