OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = (1/90) [A142312(n) - 1].
a(n) ~ (4/15) n log n. - Charles R Greathouse IV, Jun 01 2016, corrected Sep 05 2016
MAPLE
a:= proc(n) option remember; local k;
for k from 1+ `if`(n=1, 1, a(n-1))
while not isprime(90*k+1) do od; k
end:
seq(a(n), n=1..100); # Alois P. Heinz, Dec 05 2011
MATHEMATICA
Select[Range[200], PrimeQ[90 # + 1] &] (* Vincenzo Librandi, Sep 06 2016 *)
PROG
(PARI) is(n)=n%90==1 && isprime(n) \\ Charles R Greathouse IV, Jun 01 2016
(Magma) [n: n in [0..200]| IsPrime(90*n+1)]; // Vincenzo Librandi, Sep 06 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
J. W. Helkenberg, Nov 16 2010
EXTENSIONS
New name from Michael B. Porter, Jul 26 2013
STATUS
approved