login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A066490
Number of primes of the form 4m+3 that are <= n.
9
0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13
OFFSET
1,7
COMMENTS
Partial sums of A079261. - Reinhard Zumkeller, Feb 06 2014
FORMULA
A066339(n) + a(n) = A000720(n) - 1 for n >= 2. - Jianing Song, Apr 28 2021
MATHEMATICA
Table[ Length[ Select[ Union[ Table[ Prime[ PrimePi[i]], {i, 2, n}]], Mod[ #, 4] == 3 & ]], {n, 2, 100} ]
Accumulate[Table[If[PrimeQ[n]&&Mod[n, 4]==3, 1, 0], {n, 100}]] (* Harvey P. Dale, Mar 17 2021 *)
PROG
(PARI) for(n=1, 100, print1(sum(i=1, n, if((i*isprime(i)-3)%4, 0, 1)), ", "))
(Haskell)
a066490 n = a066490_list !! (n-1)
a066490_list = scanl1 (+) $ map a079261 [1..]
-- Reinhard Zumkeller, Feb 06 2014
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Jan 03 2002
STATUS
approved

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy