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!)
A356364 Number of primes p of the form k^2 + 1 less than 10^n such that p+2 and 2p+1 are also primes. 0
1, 1, 1, 1, 2, 3, 7, 10, 18, 43, 86, 185, 449, 1091, 2764, 6978, 17951, 47146, 125507, 337600, 916229, 2504458, 6898908 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
EXAMPLE
For n = 5, a(5) = 2 since 5 and 25601 are the only two such primes less than or equal to 10^5.
MATHEMATICA
seq[nmax_] := Module[{c = 0, pow = 10, s = {}, p}, Do[p = k^2 + 1; If[PrimeQ[p] && PrimeQ[p + 2] && PrimeQ[2*p + 1], c++]; If[p > pow, pow *= 10; AppendTo[s, c]], {k, 1, Floor[10^(nmax/2)] + 1}]; s]; seq[13] (* Amiram Eldar, Oct 16 2022 *)
CROSSREFS
Sequence in context: A100847 A271713 A355726 * A173132 A351704 A320675
KEYWORD
nonn,more
AUTHOR
Angad Singh, Oct 16 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 August 30 07:09 EDT 2024. Contains 375532 sequences. (Running on oeis4.)