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!)
A355705 Indices k of partition function p where p(k) and p(k) - 2 are twin primes. 3
4, 5, 186, 3542 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Because asymptotically size of partitions number function p(n) ~ O(exp(sqrt(n))), and probability of primality of p(n) ~ O(1/sqrt(n)) and 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.
a(5) > 10^7.
LINKS
EXAMPLE
4 is a term because A000041(4) = 5, and 3 and 5 are twin primes.
5 is a term because A000041(5) = 7, and 5 and 7 are twin primes.
PROG
(PARI) for(n=1, 3600, if(ispseudoprime(p=numbpart(n))&&ispseudoprime(p-2), print1(n, ", ")))
CROSSREFS
Sequence in context: A041409 A101076 A331578 * A041745 A298224 A051152
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 July 27 12:19 EDT 2024. Contains 374647 sequences. (Running on oeis4.)