login
A075403
Smallest k such that the difference between the k-th triangular number and the following prime is equal to n.
3
2, 1, 5, 28, 10, 48, 13, 15, 65, 160, 58, 80, 106, 32, 162, 91, 94, 188, 70, 127, 62, 304, 201, 120, 394, 103, 141, 244, 382, 455, 301, 380, 521, 700, 625, 212, 721, 611, 681, 979, 277, 815, 1201, 1275, 569, 4588, 558, 2331, 5113, 1704, 1337, 2551, 2101
OFFSET
0,1
COMMENTS
Index of the first occurrence of n in A075402.
LINKS
PROG
(PARI) for(n=1, 100, f=0:for(k=1, 50000, if(nextprime(k*(k+1)/2)-k*(k+1)/2==n, f=k:break)):print1(f", "))
CROSSREFS
Cf. A075402.
Sequence in context: A184300 A317390 A370163 * A260503 A236436 A187618
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Sep 23 2002
EXTENSIONS
Corrected and extended by Ralf Stephan, Mar 19 2003
STATUS
approved