Smallest integer q >= 1 such that difference between q*sqrt(2) and the nearest integer is <= 1/n.

A105960

Smallest integer q >= 1 such that difference between q*sqrt(2) and the nearest integer is <= 1/n.

Terms

    a(0) =1a(1) =2a(2) =2a(3) =2a(4) =5a(5) =5a(6) =5a(7) =5a(8) =5a(9) =5a(10) =5a(11) =5a(12) =5a(13) =12a(14) =12a(15) =12a(16) =12a(17) =12a(18) =12a(19) =12a(20) =12a(21) =12a(22) =12a(23) =12a(24) =12a(25) =12a(26) =12a(27) =12a(28) =12a(29) =12

External references