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!)
A355706 Indices k of partition function p where p(k) is a twin prime. 4
3, 4, 5, 6, 13, 186, 3542, 2335166 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Because asymptotically the size of the partition number function p(n) is ~ O(exp(sqrt(n))), and the probability of primality of p(n) is ~ O(1/sqrt(n)) and the combined probability of primality of p(n) and p(n)+-2 is ~ O(1/n), the sum of the prime probabilities is diverging and there are no obvious restrictions on primality; therefore, this sequence may be conjectured to be infinite.
p(2335166), a 1696-digit number, was known to be prime and proven prime by F. Morain using his software (ca. April 2001), but the primality of p(2335166)+2 was found by targeted search (for this sequence) in July 2022.
a(9) > 10^7.
LINKS
EXAMPLE
13 is a term because A000041(13) = 101 is prime and 101 and 103 are twin primes.
PROG
(PARI) for(n=1, 3600, if(ispseudoprime(p=numbpart(n))&&(ispseudoprime(p-2)||ispseudoprime(p+2)), print1(n, ", ")))
CROSSREFS
Subsequence of A046063.
Union of A355704 and A355705.
Sequence in context: A299496 A070981 A107228 * A351711 A294247 A346310
KEYWORD
nonn,hard,more
AUTHOR
Serge Batalov, Jul 15 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 September 1 05:33 EDT 2024. Contains 375575 sequences. (Running on oeis4.)