The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A357127 a(n) = A081257(n) if A081257(n) > n, otherwise a(n) = 1. 2
7, 13, 7, 31, 43, 19, 73, 13, 37, 19, 157, 61, 211, 241, 1, 307, 1, 127, 421, 463, 1, 79, 601, 31, 37, 757, 271, 67, 1, 331, 151, 1123, 397, 97, 43, 67, 1483, 223, 547, 1723, 139, 631, 283, 109, 103, 61, 181, 1, 2551, 379, 919, 409, 2971, 79, 103, 3307, 163, 3541, 523, 97, 3907, 109, 73, 613 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
All the primes in this sequence appear exactly twice.
The new primes encountered seem to match the terms of A256148 for n>1. Bill McEachen, Oct 13 2022
LINKS
FORMULA
Conjecture 1: If a(n) != 1, then a(n) = a(a(n) - n - 1).
Conjecture 2: If n != m and a(n) = a(m), then
a(n) = gcd(n^2 + n + 1, m^2 + m + 1) = n + m + 1.
EXAMPLE
a(2) = a(a(2) - 2 - 1) = a(7 - 2 - 1) = a(4).
a(3) = a(9) = 3 + 9 + 1 = 13.
a(5) = a(25) = gcd(5^2 + 5 + 1, 25^2 + 25 + 1) = 31.
PROG
(Python)
from sympy import primefactors
def A357127(n): return m if (m:=max(primefactors(n*(n+1)+1))) > n else 1 # Chai Wah Wu, Oct 15 2022
CROSSREFS
Sequence in context: A103705 A157517 A164929 * A081257 A046163 A130770
KEYWORD
nonn
AUTHOR
Mohammed Bouras, Sep 13 2022
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 May 15 19:42 EDT 2024. Contains 372549 sequences. (Running on oeis4.)