OFFSET
1
LINKS
MATHEMATICA
b[n_] := (For[m = n; i = 1, i <= n-1, i++, d = n-i; m = d*Ceiling[m/d+1]]; m); A000960 = Array[b, 12]; Boole[MemberQ[A000960, #]]& /@ Range[A000960 // Last] (* Jean-François Alcover, Nov 24 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 23 2016
STATUS
approved