OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..392
EXAMPLE
a(4) = 37 because a(3) = 11 and 37 is the least prime == 4 (mod 11).
MAPLE
A[1]:= 3:
for i from 2 to 30 do
for p from 4 by A[i-1] while not isprime(p) do od:
A[i]:= p
od:
seq(A[j], j=1..30);
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel, Apr 03 2023
STATUS
approved