login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A133524 Sum of squares of four consecutive primes. 21
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 (list; graph; refs; listen; history; text; internal format)
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

Adjacent sequences:  A133521 A133522 A133523 * A133525 A133526 A133527

KEYWORD

nonn

AUTHOR

Artur Jasinski, Sep 14 2007

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 15 19:25 EDT 2019. Contains 328037 sequences. (Running on oeis4.)