Let m = floor(sqrt(n)); if n and m have the same parity, a(n) = n + m, otherwise a(n) = n - m.
A127366
Let m = floor(sqrt(n)); if n and m have the same parity, a(n) = n + m, otherwise a(n) = n - m.
Terms
- a(0) =0a(1) =2a(2) =1a(3) =4a(4) =6a(5) =3a(6) =8a(7) =5a(8) =10a(9) =12a(10) =7a(11) =14a(12) =9a(13) =16a(14) =11a(15) =18a(16) =20a(17) =13a(18) =22a(19) =15a(20) =24a(21) =17a(22) =26a(23) =19a(24) =28a(25) =30a(26) =21a(27) =32a(28) =23a(29) =34
External references
- oeis: A127366