cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A363459 Sum of the first n prime powers A246655.

Original entry on oeis.org

2, 5, 9, 14, 21, 29, 38, 49, 62, 78, 95, 114, 137, 162, 189, 218, 249, 281, 318, 359, 402, 449, 498, 551, 610, 671, 735, 802, 873, 946, 1025, 1106, 1189, 1278, 1375, 1476, 1579, 1686, 1795, 1908, 2029, 2154, 2281, 2409, 2540, 2677, 2816, 2965, 3116, 3273, 3436
Offset: 1

Views

Author

Bartlomiej Pawlik, Jun 03 2023

Keywords

Comments

Partial sums of A246655.
If we consider 1 as a prime power, we get A024918.

Examples

			The first five terms of A246655 are 2,3,4,5,7, so a(5) = 2+3+4+5+7 = 21.
		

Crossrefs

Programs

  • Mathematica
    FoldList[Plus, Select[Range[150], PrimePowerQ]] (* Amiram Eldar, Jun 22 2025 *)

Formula

a(n) = A024918(n+1) - 1.