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!)
A339134 Indices in A338884 where records occur. 0
1, 4, 12, 66, 346, 5876, 95078, 9411222, 1894078221 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
It seems that A338884(a(n)) = n and 3*sqrt(log(a(n)))/n ~ O(1).
LINKS
PROG
(Python)
from sympy import isprime
def search(n):
k = 1
while 1:
i = k*n + 1
while i < k*n + k:
if isprime(i) == 1: return i
i += 2
k = 2*k
a_rec = 0
n = 1
while 1:
m = search(n)
a = m.bit_length() - n.bit_length()
if a > a_rec:
print(n)
a_rec = a
n += 1
CROSSREFS
Sequence in context: A221667 A275527 A222612 * A000843 A369284 A358409
KEYWORD
nonn,base,more
AUTHOR
Ya-Ping Lu, Nov 24 2020
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.)