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!)
A344793 a(n) is the number of primes of the form prime(n) + 2*q where q < prime(n) is prime. 2
0, 1, 1, 3, 1, 3, 3, 4, 3, 2, 4, 6, 4, 4, 4, 5, 2, 6, 7, 4, 7, 7, 6, 6, 8, 5, 8, 6, 7, 7, 8, 6, 8, 9, 7, 10, 11, 8, 8, 9, 8, 9, 8, 10, 7, 9, 11, 14, 10, 13, 11, 9, 12, 13, 10, 12, 12, 13, 12, 10, 15, 15, 17, 15, 12, 12, 12, 15, 15, 17, 17, 11, 16, 16, 17, 17, 13, 19, 14, 17, 14, 17, 12, 15, 19 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
EXAMPLE
a(6) = 3 because with prime(6) = 13 we have 2*2+13 = 17, 2*3+13 = 19 and 2*5+13 = 23 prime.
MAPLE
f:= proc(n) local i, p;
p:= ithprime(n);
numboccur(true, map(isprime, [seq(2*ithprime(i)+p, i=1..n-1)]))
end proc:
map(f, [$1..100]);
MATHEMATICA
a[n_] := Module[{p, q},
p = Prime[n];
q = Select[Range[p-1], PrimeQ];
Count[p + 2 q, _?PrimeQ]];
Table[a[n], {n, 1, 100}] (* Jean-François Alcover, May 16 2023 *)
CROSSREFS
Cf. A344794.
Sequence in context: A243339 A244965 A049996 * A143908 A349814 A117572
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, May 28 2021
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 30 04:46 EDT 2024. Contains 372958 sequences. (Running on oeis4.)