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.

A014284 Partial sums of primes, if 1 is regarded as a prime (as it was until quite recently, see A008578).

Original entry on oeis.org

1, 3, 6, 11, 18, 29, 42, 59, 78, 101, 130, 161, 198, 239, 282, 329, 382, 441, 502, 569, 640, 713, 792, 875, 964, 1061, 1162, 1265, 1372, 1481, 1594, 1721, 1852, 1989, 2128, 2277, 2428, 2585, 2748, 2915, 3088, 3267, 3448, 3639, 3832, 4029
Offset: 1

Views

Author

Deepan Majmudar (dmajmuda(AT)esq.com)

Keywords

Comments

Lexicographically earliest sequence whose first differences are an increasing sequence of primes. Complement of A175969. - Jaroslav Krizek, Oct 31 2010
A175944(a(n)) = A018252(n). - Reinhard Zumkeller, Mar 18 2011
Partial sums of noncomposite numbers (A008578). - Omar E. Pol, Aug 09 2012

Examples

			a(7) = 42 because the first six primes (2, 3, 5, 7, 11, 13) add up to 41, and 1 + 41 = 42.
		

Crossrefs

Cf. A007504.
Equals A036439(n) - 1.
Cf. A008578.

Programs

Formula

a(n) = Sum_{k <= n} [(A158611(k + 1)) * (A000012(n - k + 1))] = Sum_{k <= n} [(A158611(k + 1)) * (A000012(k))] = Sum_{k <= n} [(A008578(k)) * (A000012(n - k + 1))] = Sum_{k <= n} [(A008578(k)) * (A000012(k))] for n, k >= 1. - Jaroslav Krizek, Aug 05 2009
a(n + 1) = A007504(n) + 1. a(n + 1) - a(n) = A000040(n) = n-th primes. - Jaroslav Krizek, Aug 19 2009
a(n) = a(n-1) + prime(n-1), with a(1)=1. - Vincenzo Librandi, Jul 27 2013
G.f: (x*(1+b(x)))/(1-x) = c(x)/(1-x), where b(x) and c(x) are respectively the g.f. of A000040 and A008578. - Mario C. Enriquez, Dec 10 2016

Extensions

Correction for Aug 2009 change of offset in A158611 and A008578 by Jaroslav Krizek, Jan 27 2010