This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A244588 #22 Aug 07 2023 02:11:14 %S A244588 6,7,6,7,6,7,6,7,14,15,14,15,14,15,14,15,22,23,22,23,22,23,22,23,30, %T A244588 31,30,31,30,31,30,31,38,39,38,39,38,39,38,39,46,47,46,47,46,47,46,47, %U A244588 54,55,54,55,54,55,54,55,62,63,62,63,62,63,62,63,70,71,70,71 %N A244588 a(n) = n OR 6. %C A244588 a(n) = n if n is congruent to (6, 7) mod 8. %F A244588 a(n) = (n+6) - (n AND 6). %F A244588 a(n) = (n XOR 6) + (n AND 6). %F A244588 a(n) = n + ( 6*floor((n+2)/2) mod 8 ). %F A244588 Sum_{n>=0} (-1)^n/a(n) = sqrt(2)*Pi/4 - sqrt(2)*log(sqrt(2)+1)/2 - log(2)/2. - _Amiram Eldar_, Aug 07 2023 %p A244588 with(Bits): seq(Or(n,6), n = 0..60); %t A244588 Table[BitOr[n, 6], {n, 0, 80}] (* _Bruno Berselli_, Jul 01 2014 *) %o A244588 (Magma) [BitwiseOr(n, 6): n in [0..80]]; // _Bruno Berselli_, Jul 01 2014 %Y A244588 Cf. similar sequences listed in A244587. %K A244588 nonn,easy %O A244588 0,1 %A A244588 _Gary Detlefs_, Jun 30 2014