login
A088261
Smallest number prefixed with corresponding term of the sequence of numbers == 1, 3, 7 or 9 (mod 10), i.e., (1, 3, 7, 9, 11, 13, 17, 19, 21, 23, 27, 29, 31, 33, 37, 39, ...) that yields a prime.
0
1, 1, 1, 1, 2, 1, 3, 4, 4, 2, 1, 2, 1, 2, 1, 1, 2, 4, 3, 1, 1, 3, 1, 3, 4, 1, 1, 2, 2, 1, 2, 1, 1, 2, 4, 3, 1, 1, 1, 1, 5, 1, 5, 1, 2, 2, 1, 3, 3, 1, 4, 1, 2, 4, 2, 4, 2, 2, 5, 11, 1, 1, 4, 4, 2, 1, 3, 3, 1, 6, 4, 2, 1, 13, 1, 5, 3, 1, 5, 6, 1, 2, 2, 3, 4, 1, 1, 4, 2, 1, 5, 1, 1, 5, 1, 2, 4, 2, 6, 1, 2, 3, 3, 1, 4
OFFSET
0,5
EXAMPLE
The term corresponding to 61 is 4 as 161, 261 and 361 are composite.
CROSSREFS
Sequence in context: A336926 A193788 A109447 * A248393 A033779 A033799
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Sep 28 2003
EXTENSIONS
More terms from David Wasserman, Jul 27 2005
STATUS
approved