OFFSET
0,2
LINKS
Donovan Johnson, Table of n, a(n) for n = 0..1000
EXAMPLE
a(0) = 1 because 1 is the smallest positive integer that cannot be represented as sum of a prime and a triangular number (since 2 is the smallest prime).
a(1) = 2 = 2 + 0; a(2) = 3 = 3 + 0 = 2 + 1; a(3) = 8 = 2 + 6 = 5 + 3 = 7 + 1.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post and Ray Chandler, Dec 14 2004
STATUS
approved