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!)
A023519 Least odd prime divisor of prime(n)*prime(n-1) - 1, or 1 if prime(n)*prime(n-1) - 1 is a power of 2. 0
1, 5, 7, 17, 19, 71, 5, 7, 109, 3, 449, 3, 379, 881, 5, 3, 3, 7, 3, 29, 2591, 3, 11, 3, 13, 31, 7, 5, 7, 3079, 5, 4159, 3, 9521, 5, 7, 3, 3, 5, 3, 3, 97, 5, 7, 5, 17, 3, 3, 5, 7, 13339, 3, 31, 5, 3, 3, 3, 7, 3, 11, 39761, 11, 5, 23869, 7, 5, 23, 3, 59, 151, 19, 3, 43, 3, 3, 11, 3, 19, 39799, 13 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Assumes the not generally accepted convention prime(0) = 1. - Michel Marcus, Jun 06 2019
LINKS
FORMULA
a(n) = A078701(A023515(n)). - Michel Marcus, Jun 06 2019
PROG
(PARI) p(n) = if (n==0, 1, prime(n));
f(n) = my(v = select(x->((x%2)==1), factor(n)[, 1])); if (#v, vecmin(v), 1);
a(n) = f(p(n)*p(n-1) - 1); \\ Michel Marcus, Jun 06 2019
CROSSREFS
Sequence in context: A168245 A242929 A128490 * A023517 A128491 A146949
KEYWORD
nonn
AUTHOR
EXTENSIONS
Terms corrected by Sean A. Irvine, Jun 05 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 July 17 09:39 EDT 2024. Contains 374363 sequences. (Running on oeis4.)