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!)
A064723 (L(p)-1)/p where L() are the Lucas numbers (A000032) and p runs through the primes. 7

%I #52 Jan 02 2023 12:30:46

%S 1,1,2,4,18,40,210,492,2786,39650,97108,1459960,9030450,22542396,

%T 141358274,2249412290,36259245522,91815545800,1500020153484,

%U 9702063416738,24704432285040,409634464205812,2672366681180466,44720842390302450,1927655270098608960

%N (L(p)-1)/p where L() are the Lucas numbers (A000032) and p runs through the primes.

%H Harry J. Smith, <a href="/A064723/b064723.txt">Table of n, a(n) for n=0..100</a>

%H Larry Ericksen, <a href="http://siauliaims.su.lt/index.php?option=com_content&amp;view=article&amp;id=44&amp;Itemid=9">Primality Testing and Prime Constellations</a>, Šiauliai Mathematical Seminar, Vol. 3 (11), 2008. Mentions this sequence.

%H S. Litsyn and V. Shevelev, <a href="http://dx.doi.org/10.1142/S1793042105000339">Irrational Factors Satisfying the Little Fermat Theorem</a>, International Journal of Number Theory, vol.1, no.4 (2005), 499-512.

%H V. Shevelev, <a href="http://list.seqfan.eu/oldermail/seqfan/2014-March/012750.html">A property of n-bonacci constant</a>, Seqfan (Mar 23 2014)

%F a(n) = A006206(A000040(n+1)). - _Creighton Dement_, Nov 04 2005

%F a(n) = (round(phi^prime(n+1)) - 1)/prime(n+1), where phi is golden ratio (A001622). Indeed, L(p) = round(phi^p), and round(phi^p) == 1 (mod p) and, what is more, for p>=5, round(phi^p) == 1 (mod 2*p) (see Shevelev link). In particular, all terms >=2 are even. - _Vladimir Shevelev_, Mar 24 2014

%e a(0) = (Lucas(2) - 1)/2 = (3 - 1)/2 = 1; a(3) = (Lucas(7) - 1)/7 = (29 - 1)/7 = 4.

%p A064723 := proc(n)

%p p := ithprime(1+n) ;

%p (A000032(p)-1)/p ;

%p end proc: # _R. J. Mathar_, Jan 09 2017

%t Array[(LucasL@ Prime@ # - 1)/Prime@ # &, {23}] (* _Michael De Vlieger_, Aug 22 2015 *)

%o (PARI) lucas(n) = if(n==0,2, if(n==1,1,fibonacci(n+1)+fibonacci(n-1)))

%o forprime(n=1,100,print1((lucas(n)-1)/n, ", "))

%o (PARI) lucas(n)= { if(n==0, 2, if(n==1, 1, fibonacci(n + 1) + fibonacci(n - 1))) } { n=-1; forprime (p=2, prime(101), write("b064723.txt", n++, " ", (lucas(p) - 1)/p) ) } \\ _Harry J. Smith_, Sep 23 2009

%o (Magma) [(Lucas(NthPrime(n))-1)/NthPrime(n): n in [1..40]]; // _Vincenzo Librandi_, Aug 22 2015

%Y Cf. A000032, A006206.

%K nonn

%O 0,3

%A _Shane Findley_, Oct 13 2001

%E More terms from _James A. Sellers_ and _Klaus Brockhaus_, Oct 16 2001

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 19 05:19 EDT 2024. Contains 371782 sequences. (Running on oeis4.)