OFFSET
1,2
COMMENTS
a(n) is the position of the n-th 1 in the sequence of remainders when each positive integer is divided by its least nondivisor (as in A007978).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
(See A213636.)
rem[n_]:=Module[{lnd=First[Complement[Range[n], Divisors[n]]]}, Mod[n, lnd]]; Flatten[Position[Join[{1, 2}, Array[rem, 100, 3]], 1]] (* Harvey P. Dale, Feb 07 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 16 2012
STATUS
approved