OFFSET
1,1
COMMENTS
Also primes of the form (3k^2 + k + 2)/2.
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..10000
EXAMPLE
T(8) + S(8) + 1 = 8*(8+1)/2 + 8^2 + 1 = 101, which is prime, so 101 is a term.
T(9) + S(9) + 1 = 9*(9+1)/2 + 9^2 + 1 = 127, which is prime, so 127 is a term.
MAPLE
KD:= proc() local a, b, d; a:= (1/2)*x*(x+1); b:=x^2; d:=a+b+1; if isprime(d) then RETURN(d): fi; end: seq(KD(), x=1..500);
CROSSREFS
KEYWORD
nonn
AUTHOR
K. D. Bajpai, Sep 12 2013
STATUS
approved