OFFSET
1,3
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
FORMULA
MATHEMATICA
With[{nn = 92}, Function[{g, h}, Flatten@ Table[If[MemberQ[g, n], First@ Position[g, n] - 1, First@ Position[h, n]], {n, Min[Length /@ {g, h}]}]] @@ {Table[2 n - DigitCount[2 n, 2, 1], {n, 0, nn}], Complement[Range@ Last@ #, #] &@ Table[IntegerExponent[(2 n)!, 2], {n, 0, nn}]} ] (* Michael De Vlieger, Dec 12 2016, after Harvey P. Dale at A005187 and Jean-François Alcover at A055938 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 15 2015
STATUS
approved