login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A360226 a(n) = sum of the first n primes whose distance to next prime is 4. 1
7, 20, 39, 76, 119, 186, 265, 362, 465, 574, 701, 864, 1057, 1280, 1509, 1786, 2093, 2406, 2755, 3134, 3531, 3970, 4427, 4890, 5377, 5876, 6489, 7132, 7805, 8544, 9301, 10070, 10893, 11746, 12605, 13482, 14365, 15272, 16209, 17176, 18185, 19272, 20365, 21578, 22857, 24154, 25457, 26880, 28309, 29756 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = Sum_{k=1..n} A029710(k).
a(n) = A172112(n+1) - 3.
MATHEMATICA
ii = {}; sum = 0; Do[If[Prime[n + 1] - Prime[n] == 4, sum = sum + Prime[n]; AppendTo[ii, sum]], {n, 1, 250}]; ii
CROSSREFS
Sequence in context: A140676 A025056 A038349 * A100752 A162024 A143058
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Feb 01 2023
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 11:21 EDT 2024. Contains 371936 sequences. (Running on oeis4.)