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”).

a(1) = 1, a(n) = sum of n successive primes beginning with n if n is prime otherwise a(n) = sum of n successive composite numbers beginning with n.
0

%I #4 Dec 05 2013 19:57:01

%S 1,5,15,27,53,59,119,102,135,172,311,240,473,318,371,427,833,528,1103,

%T 641,715,793,1643,928,1015,1105,1201,1301,2647,1472,3137,1653,1770,

%U 1890,2014,2142,4501,2361,2498,2640,5633,2879,6363,3126,3281,3442,7701,3715

%N a(1) = 1, a(n) = sum of n successive primes beginning with n if n is prime otherwise a(n) = sum of n successive composite numbers beginning with n.

%K nonn

%O 1,2

%A _Amarnath Murthy_, Jul 20 2005

%E More terms from _Franklin T. Adams-Watters_, Apr 26 2006