login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A279687
a(0) = 1, a(n) is the least prime factor of a(n-1)^2+1 that has not previously appeared in the sequence for n > 0.
0
1, 2, 5, 13, 17, 29, 421, 401, 37, 1877, 41
OFFSET
0,2
EXAMPLE
a(7) is a prime factor of a(6)^2+1 = 421^2 + 1 = 177242, which factors as 2*13*17*401. 2, 13, and 17 have already appeared in the sequence, so a(7) = 401.
a(10)^2+1 = 882 = 2 * 29^2. Both 2 and 29 have already appeared in the sequence, so it terminates.
CROSSREFS
Cf. A031439.
Sequence in context: A160215 A068486 A099332 * A031439 A074856 A087952
KEYWORD
nonn,fini,full
AUTHOR
STATUS
approved

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy