login
A110343
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
1, 5, 15, 27, 53, 59, 119, 102, 135, 172, 311, 240, 473, 318, 371, 427, 833, 528, 1103, 641, 715, 793, 1643, 928, 1015, 1105, 1201, 1301, 2647, 1472, 3137, 1653, 1770, 1890, 2014, 2142, 4501, 2361, 2498, 2640, 5633, 2879, 6363, 3126, 3281, 3442, 7701, 3715
OFFSET
1,2
CROSSREFS
Sequence in context: A100437 A339567 A067533 * A146060 A076843 A285406
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jul 20 2005
EXTENSIONS
More terms from Franklin T. Adams-Watters, Apr 26 2006
STATUS
approved