OFFSET
1,2
COMMENTS
REFERENCES
Alexandrov, Lubomir. "On the nonasymptotic prime number distribution." arXiv preprint math/9811096 (1998). (See Appendix.)
LINKS
N. Fernandez, An order of primeness, F(p).
N. Fernandez, An order of primeness [cached copy, included with permission of the author]
FORMULA
T[i,j] = j-th number for which A078442 equals i-1.
EXAMPLE
MATHEMATICA
t[1, 1] = 1; t[1, 2] = 4; t[1, k_] := (p = t[1, k-1]; If[ PrimeQ[p+1], p+2, p+1]); t[n_ /; n > 1, k_] := Prime[t[n-1, k]]; Flatten[ Table[ t[n, k-n+1], {k, 1, 9}, {n, 1, k}]] (* Jean-François Alcover, Oct 03 2011 *)
PROG
(PARI) p=c=0; T=matrix( 10, 10, i, j, if( i==1, while( isprime(c++), ); p=c, p=prime(p))); A138947=concat( vector( vecmin( matsize( T )), i, vector( i, j, T[ j, i+1-j ])))
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
M. F. Hasler, Apr 28 2008
STATUS
approved