login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A175071
Natural numbers m with result 1 under iterations of {r mod (max prime p < r)} starting at r = m.
6
1, 3, 4, 6, 8, 10, 11, 12, 14, 16, 17, 18, 20, 22, 23, 24, 26, 27, 29, 30, 32, 34, 35, 37, 38, 40, 41, 42, 44, 46, 47, 48, 50, 51, 53, 54, 56, 57, 59, 60, 62, 64, 65, 67, 68, 70, 71, 72, 74, 76, 77, 79, 80, 82, 83, 84, 86, 87, 89, 90, 92, 93, 95, 97, 98, 100, 101, 102
OFFSET
1,2
COMMENTS
Complement of A175072. Union of A175073 and A175074. [From Jaroslav Krizek, Jan 30 2010]
EXAMPLE
Iteration procedure for a(6) = 10: 10 mod 7 = 3, 3 mod 2 = 1. Iteration procedure for a(7) = 11: 11 mod 7 = 4, 4 mod 3 = 1.
MATHEMATICA
nn1Q[n_]:=Last[NestWhileList[Mod[#, NextPrime[#, -1]]&, n, #>1&]]!=0; Select[ Range[ 110], nn1Q] (* Harvey P. Dale, May 05 2015 *)
CROSSREFS
Sequence in context: A335194 A307647 A088070 * A336822 A140497 A260479
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Jan 23 2010
STATUS
approved