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

A084410
First column of triangle A084408.
3
1, 2, 5, 4, 13, 10, 31, 20, 30, 42, 61, 55, 109, 70, 88, 108, 181, 126, 277, 148, 174, 201, 397, 225, 255, 287, 318, 348, 547, 382, 733, 417, 456, 496, 535, 576, 947, 621, 666, 711, 1213, 758, 1499, 805, 858, 910, 1831, 963, 1020, 1078, 1137, 1195, 2207, 1255
OFFSET
1,2
COMMENTS
a(n) is prime iff n is prime.
FORMULA
For n prime, a(n) = p(A034387(n)-n+1). For n composite, a(n) = A002808([n*(n+1)/2]-A034387(n)-n).
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amarnath Murthy, Jun 01 2003
EXTENSIONS
Edited and extended by David Wasserman, Dec 27 2004
STATUS
approved