|
| |
|
|
A075403
|
|
Smallest k such that the difference between the k-th triangular number and the following prime is equal to n.
|
|
2
| |
|
|
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
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
COMMENTS
| Index of the first occurrence of n in A075402.
|
|
|
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. A075403.
Sequence in context: A012905 A184298 A184300 * A187618 A110863 A091615
Adjacent sequences: A075400 A075401 A075402 * A075404 A075405 A075406
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Sep 23 2002
|
|
|
EXTENSIONS
| Corrected and extended by Ralf Stephan (ralf(AT)ark.in-berlin.de), Mar 19 2003
|
| |
|
|