OFFSET
1,1
COMMENTS
The result is not A104272, but seems to be distantly related. Duplicates are discarded by the Union[].
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
J. Sondow, Ramanujan primes and Bertrand's postulate, Amer. Math. Monthly 116 (2009) 630-635.
FORMULA
If floor((2n+m)* log(2*n+m)) is prime, then floor((2n+m)* log(2*n+m)).
MATHEMATICA
a[n_] = Floor[2*n*Log[2*n]]; Table[Table[If[PrimeQ[a[n + m]], a[n + m], {}], {m, 0, 2*n}], {n, 1, 100}]; Union[Flatten[%]]
CROSSREFS
KEYWORD
nonn,uned
AUTHOR
Roger L. Bagula, Jul 31 2009
STATUS
approved