OFFSET
1,7
COMMENTS
Partial sums of A079261. - Reinhard Zumkeller, Feb 06 2014
LINKS
T. D. Noe, Table of n, a(n) for n=1..10000
FORMULA
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