login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A133524
Sum of squares of four consecutive primes.
22
87, 204, 364, 628, 940, 1348, 2020, 2692, 3700, 4852, 5860, 7108, 8548, 10348, 12220, 14500, 16732, 18580, 21100, 23500, 26380, 30460, 34420, 38140, 41668, 44140, 46708, 52228, 57940, 64828, 71380, 77452, 83092, 88972, 96220, 101908, 109036
OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A133529(n) + A001248(n+3). - Michel Marcus, Nov 08 2013
a(n) ~ 4n^2 log^2 n. - Charles R Greathouse IV, Apr 29 2015
EXAMPLE
a(1)=87 because 2^2+3^2+5^2+7^2=87.
MATHEMATICA
a = 2; Table[Prime[n]^a + Prime[n + 1]^a + Prime[n + 2]^a + Prime[n + 3]^a, {n, 1, 100}]
Total/@Partition[Prime[Range[40]]^2, 4, 1] (* Harvey P. Dale, Dec 09 2018 *)
PROG
(PARI) a(n)=sum(i=n, n+3, prime(i)^2) \\ Charles R Greathouse IV, Apr 29 2015
CROSSREFS
Cf. A034963.
Sequence in context: A101259 A063336 A129515 * A304509 A020314 A008899
KEYWORD
nonn
AUTHOR
Artur Jasinski, Sep 14 2007
STATUS
approved