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!)
A259650 Largest prime factor of the n-th pentagonal number (A000326). 4
5, 3, 11, 7, 17, 7, 23, 13, 29, 11, 7, 19, 41, 11, 47, 17, 53, 19, 59, 31, 13, 23, 71, 37, 13, 5, 83, 43, 89, 31, 19, 11, 101, 13, 107, 37, 113, 29, 17, 61, 7, 43, 131, 67, 137, 47, 13, 73, 149, 19, 31, 79, 23, 41, 167, 19, 173, 59, 179, 61, 37, 47, 191, 97 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
FORMULA
a(n) = A006530(A000326(n)).
EXAMPLE
a(3) = 3 because A000326(3) = 12 = 2^2 * 3.
PROG
(PARI)
pg(m, n) = (n^2*(m-2)-n*(m-4))/2 \\ n-th m-gonal number
lpf(m) = vecmax(factorint(m)[, 1]) \\ Largest prime factor
a(n) = lpf(pg(5, n))
CROSSREFS
Sequence in context: A258333 A137613 A335302 * A165670 A221869 A237116
KEYWORD
nonn
AUTHOR
Colin Barker, Jul 02 2015
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 10:51 EDT 2024. Contains 371967 sequences. (Running on oeis4.)