a(n) is the number of times that n occurs as floor(k * sqrt(2)) - k.
A097509
a(n) is the number of times that n occurs as floor(k * sqrt(2)) - k.
Terms
- a(0) =3a(1) =2a(2) =3a(3) =2a(4) =3a(5) =2a(6) =2a(7) =3a(8) =2a(9) =3a(10) =2a(11) =2a(12) =3a(13) =2a(14) =3a(15) =2a(16) =3a(17) =2a(18) =2a(19) =3a(20) =2a(21) =3a(22) =2a(23) =2a(24) =3a(25) =2a(26) =3a(27) =2a(28) =3a(29) =2
External references
- oeis: A097509