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!)
A142584 a(n) = A014217(n+1) - A115360(n+2). 1
2, 4, 6, 10, 18, 28, 46, 76, 122, 198, 322, 520, 842, 1364, 2206, 3570, 5778, 9348, 15126, 24476, 39602, 64078, 103682, 167760, 271442, 439204, 710646, 1149850, 1860498, 3010348, 4870846, 7881196, 12752042, 20633238, 33385282, 54018520, 87403802, 141422324, 228826126 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = Lucas(n+1) - (1/2)*(1 + (-1)^((n+2) mod 3)). - G. C. Greubel, Apr 14 2021
MATHEMATICA
Table[LucasL[n+1] - (1/2)*(1+(-1)^Mod[n+2, 3]), {n, 45}] (* G. C. Greubel, Apr 14 2021 *)
PROG
(Magma) [Lucas(n+1) - (1/2)*(1 + (-1)^((n+2) mod 3)): n in [1..45]]; // G. C. Greubel, Apr 14 2021
(Sage) [lucas_number2(n+1, 1, -1) - (1/2)*(1 + (-1)^((n+2)%3)) for n in (1..45)] # G. C. Greubel, Apr 14 2021
CROSSREFS
Sequence in context: A321403 A340311 A025052 * A098197 A358443 A175941
KEYWORD
nonn
AUTHOR
Paul Curtz, Sep 21 2008
EXTENSIONS
Edited by Omar E. Pol and N. J. A. Sloane, Jan 06 2009
More terms from Daniel Suteu, Nov 24 2019
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 10:45 EDT 2024. Contains 371709 sequences. (Running on oeis4.)