login
A198798
Least odd number a(n) > -3 such that a(n) = p(n) - j*(j+1), where p(n) is the n-th prime.
1
1, -1, 1, -1, 1, 5, -1, 3, -1, 1, 7, -1, 1, 5, 11, 3, 5, 11, -1, 1, 7, 11, -1, 7, 11, 13, 17, -1, 3, 17, -1, 5, 7, 17, 19, 1, 7, 11, 17, 23, -1, 9, 11, 15, 17, 1, 13, 17, 19, 23, -1, 1, 11, 17, 23, 29, -1, 5, 9, 11, 21, 1, 5, 7, 11, 25, 31, 5, 7, 11, 17, 25, 31
OFFSET
2,6
EXAMPLE
p(2) = 3, k(2) = 1 = 3-1*2.
p(3) = 5, k(3) = -1 = 5-2*3.
p(4) = 7, k(4) = 1 = 7-2*3.
p(5) = 11, k(5) = -1 = 11-3*4.
CROSSREFS
Sequence in context: A348317 A254378 A134568 * A229181 A121267 A111740
KEYWORD
sign
AUTHOR
Pierre CAMI, Oct 30 2011
STATUS
approved