login
A101442
a(n) = 9973*n + 10007.
4
10007, 19980, 29953, 39926, 49899, 59872, 69845, 79818, 89791, 99764, 109737, 119710, 129683, 139656, 149629, 159602, 169575, 179548, 189521, 199494, 209467, 219440, 229413, 239386, 249359, 259332, 269305, 279278, 289251, 299224, 309197
OFFSET
0,1
COMMENTS
9973 is the largest four-digit prime and 10007 is the smallest five-digit prime.
EXAMPLE
If n=14, then 9973*14 + 10007 = 149629 (a prime).
MATHEMATICA
9973*Range[0, 30]+10007 (* or *) LinearRecurrence[{2, -1}, {10007, 19980}, 40] (* Harvey P. Dale, Sep 02 2015 *)
PROG
(Magma) [9973*n + 10007: n in [0..50]]; // Vincenzo Librandi, Jul 14 2011
(PARI) a(n)=9973*n+10007 \\ Charles R Greathouse IV, Oct 16 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jan 18 2005
EXTENSIONS
Extended by Ray Chandler, Jan 25 2005
STATUS
approved