login
A100244
a(n) = smallest positive integer such that {1 + product{k=1 to n} a(k)} is coprime to n.
0
1, 2, 2, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
OFFSET
1,2
COMMENTS
a(22) to a(256) are each equal to 1. a(257) = 2.
CROSSREFS
Sequence in context: A143537 A125916 A283468 * A059689 A334904 A165018
KEYWORD
nonn
AUTHOR
Leroy Quet, Jan 11 2005
STATUS
approved