A134569 a(n) = least m such that {-m*r} < {n*r}, where { } denotes fractional part and r = sqrt(2).
2, 1, 2, 1, 12, 2, 1, 2, 1, 7, 2, 1, 2, 1, 2, 1, 12, 2, 1, 2, 1, 7, 2, 1, 2, 1, 2, 1, 70, 2, 1, 2, 1, 12, 2, 1, 2, 1, 7, 2, 1, 2, 1, 2, 1, 12, 2, 1, 2, 1, 7, 2, 1, 2, 1, 2, 1, 41, 2, 1, 2, 1, 12, 2, 1, 2, 1, 7, 2, 1, 2, 1, 2, 1, 12, 2, 1, 2, 1, 7, 2, 1, 2, 1, 2, 1, 12, 2, 1, 2, 1, 7, 2, 1, 2, 1, 2, 1, 70, 2
Offset: 1
Keywords
Examples
a(3)=2 because {-m*r} < {3*r} = 0.2426... for m=1 whereas {-2*r} = 0.1715..., so that 2 is the least m for which {-m*r} < {3*r}.
Crossrefs
Cf. A134568.
Comments