|
|
A080148
|
|
Positions of primes of the form 4*k+3 (A002145) among all primes (A000040).
|
|
16
|
|
|
2, 4, 5, 8, 9, 11, 14, 15, 17, 19, 20, 22, 23, 27, 28, 31, 32, 34, 36, 38, 39, 41, 43, 46, 47, 48, 49, 52, 54, 56, 58, 61, 63, 64, 67, 69, 72, 73, 75, 76, 81, 83, 85, 86, 90, 91, 92, 93, 94, 95, 96, 99, 101, 103, 105, 107, 109, 111, 114, 115, 117, 118, 120, 124, 125, 128
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
It appears that a(n) = k such that binomial(prime(k),3) mod 2 = 1. See Maple code. - Gary Detlefs, Dec 06 2011
The asymptotic density of this sequence is 1/2 (by Dirichlet's theorem). - Amiram Eldar, Mar 01 2021
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
pos_of_primes_k_mod_n(300, 3, 4); # Given in A080147.
end proc:
|
|
MATHEMATICA
|
Flatten[Position[Prime[Range[200]], _?(IntegerQ[(#-3)/4]&)]] (* Harvey P. Dale, Jun 06 2011 *)
Select[Range[135], Mod[Prime[#], 4] == 3 &] (* Amiram Eldar, Mar 01 2021 *)
|
|
PROG
|
|
|
CROSSREFS
|
Almost complement of A080147 (1 is excluded from both).
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|