A197702 Smallest positive integer k such that n = +-1 +-3 +-... +-(2k-1) for some choice of +'s and -'s.
1, 2, 3, 2, 5, 4, 3, 4, 3, 4, 5, 6, 5, 4, 5, 4, 5, 6, 5, 6, 7, 6, 5, 6, 5, 6, 7, 6, 7, 6, 7, 8, 7, 6, 7, 6, 7, 8, 7, 8, 7, 8, 7, 8, 9, 8, 7, 8, 7, 8, 9, 8, 9, 8, 9, 8, 9, 8, 9, 10, 9, 8, 9, 8, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 11, 10, 9, 10, 9, 10, 11, 10, 11, 10, 11, 10, 11, 10, 11, 10, 11, 10, 11, 12, 11, 10, 11, 10
Offset: 1
Comments
Examples
Links
Crossrefs
Programs
Maple
Mathematica