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!)
A079451 Highest prime dividing the n-th Lucas number (A000032); 0 when no such prime exists. 5
2, 0, 3, 2, 7, 11, 3, 29, 47, 19, 41, 199, 23, 521, 281, 31, 2207, 3571, 107, 9349, 2161, 211, 307, 461, 1103, 151, 90481, 5779, 14503, 19489, 2521, 3010349, 4481, 9901, 63443, 911, 103681, 54018521, 29134601, 859, 3041, 370248451, 1427, 144481, 967, 541 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..1000 (using Blair Kelly's data)
J. Brillhart, P. L. Montgomery and R. D. Silverman, Tables of Fibonacci and Lucas factorizations, Math. Comp. 50 (1988), 251-260, S1-S15. Math. Rev. 89h:11002.
FORMULA
a(n) = A006530(A000032(n)). - Felix Fröhlich, Dec 26 2016
MAPLE
A079451 := proc(n)
if n = 1 then
0;
else
end if;
end proc:
seq(A079451(n), n=0..30) ; # R. J. Mathar, Oct 26 2013
MATHEMATICA
Join[{2, 0}, f[n_]:=(FactorInteger@LucasL@n)[[-1, 1]]; Array[f, 60, 2]] (* Vincenzo Librandi, Dec 26 2016 *)
PROG
(PARI) a(n) = my(f = factor(fibonacci(n+1)+fibonacci(n-1))); if (om = #f~, f[om, 1], 0); \\ Michel Marcus, Oct 26 2013
(Magma) [2, 0] cat [Maximum(PrimeDivisors(Lucas(n))): n in [2..60]]; // Vincenzo Librandi, Dec 26 2016
CROSSREFS
Sequence in context: A348959 A007492 A135351 * A219187 A049799 A087985
KEYWORD
nonn
AUTHOR
Lekraj Beedassy, Jan 13 2003
EXTENSIONS
More terms from Michel Marcus, Oct 26 2013
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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)