The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A245472 Number of composite Lucas numbers between the prime Lucas numbers A005479(n) and A005479(n+1). 1
0, 1, 0, 1, 0, 2, 1, 2, 0, 1, 11, 5, 3, 5, 5, 7, 9, 7, 33, 199, 39, 149, 109, 3, 245, 233, 263, 3425, 5, 1057, 1889, 725, 2223, 1559, 1711, 485, 5019, 15979, 1329, 7727, 6661, 4833, 25667, 8177, 4973, 45233, 8033, 11429, 23567, 10111, 9465, 141625, 43139, 56175 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
Jens Kruse Andersen, Table of n, a(n) for n = 1..63
FORMULA
a(n) = A001606(n+1) - A001606(n) - 1, for n > 1.
EXAMPLE
a(1)=0 because A005479(1)= 2, A005479(2)= 3 and there are no composite Lucas number between 2 and 3 (the number 1 is not composite).
a(6)=2 because A005479(6)= 47, A005479(7)= 199 and there are 2 composite Lucas numbers between 47 and 199: 76 = 2^2*19 and 123 = 3*41.
MAPLE
with(combinat, fibonacci):with(numtheory):i:=0:a:=n->2*fibonacci(n-1)+fibonacci(n):for n from 3 to 100 do:if type (a(n), prime)=true then printf(`%d, `, i):i:=0:else i:=i+1:fi:od:
CROSSREFS
Sequence in context: A118233 A255273 A181117 * A332685 A258196 A159955
KEYWORD
nonn
AUTHOR
Michel Lagneau, Jul 23 2014
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 May 16 16:26 EDT 2024. Contains 372554 sequences. (Running on oeis4.)