OFFSET
1,2
COMMENTS
Terms are composites for all n >= 2.
Complement of A175089. [Jaroslav Krizek, Feb 05 2010]
Numbers m such that A121559(m) = 1. - Michel Marcus, Aug 22 2014
EXAMPLE
Iteration procedure for a(6) = 14: 14 mod 13 = 1.
Iteration procedure for a(10) = 27: 27 mod 23 = 4, 4 mod 3 = 1.
MATHEMATICA
(x /. Solve[Fold[Mod[#1, #2] &, x, Reverse[Prime /@ Range[40]]] == 1,
x, Integers]) /. C[1] -> 0 (* Morgan L. Owens, Jun 22 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Jan 28 2010
EXTENSIONS
More terms from Michel Marcus, Aug 22 2014
STATUS
approved