cp's OEIS Frontend

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.

Showing 1-8 of 8 results.

A178894 a(n) = n OR 7n, where OR is bitwise OR.

Original entry on oeis.org

0, 7, 14, 23, 28, 39, 46, 55, 56, 63, 78, 79, 92, 95, 110, 111, 112, 119, 126, 151, 156, 151, 158, 183, 184, 191, 190, 191, 220, 223, 222, 223, 224, 231, 238, 247, 252, 295, 302, 311, 312, 319, 302, 303, 316, 319, 366, 367, 368, 375, 382, 375, 380, 375, 382
Offset: 0

Views

Author

Dmitry Kamenetsky, Jun 21 2010

Keywords

Comments

From Robert Israel, Dec 27 2016: (Start)
7*n <= a(n) < 8*n.
a(n) = 7*n if and only if n is in A048715.
It appears that a(n) = 8*n-1 if and only if n = (4*8^j+2*8^k+3)/7 for some j and k. (End)

Crossrefs

Programs

  • Maple
    seq(Bits:-Or(n,7*n), n=0..100); # Robert Israel, Dec 27 2016
  • Mathematica
    f[n_] := BitOr[n, 7n]; Array[f, 55, 0] (* Robert G. Wilson v, Jun 28 2010 *)

Extensions

More terms from Robert G. Wilson v, Jun 28 2010

A178895 a(n) = n OR 8n, where OR is bitwise OR.

Original entry on oeis.org

0, 9, 18, 27, 36, 45, 54, 63, 72, 73, 90, 91, 108, 109, 126, 127, 144, 153, 146, 155, 180, 189, 182, 191, 216, 217, 218, 219, 252, 253, 254, 255, 288, 297, 306, 315, 292, 301, 310, 319, 360, 361, 378, 379, 364, 365, 382, 383, 432, 441, 434, 443, 436, 445, 438
Offset: 0

Views

Author

Dmitry Kamenetsky, Jun 21 2010

Keywords

Comments

Perhaps this is a rearrangement of A114386?
No, e.g., a(513) = 4617 is not in A114386. Moreover, this sequence is not injective, as a(65) = a(73) = 585. - Robert Israel, Jan 31 2021

Crossrefs

Programs

  • Maple
    read("transforms"); for n from 0 to 120 do printf("%d,", ORnos(n,8*n) ) ; end do: # R. J. Mathar, Jun 26 2010
  • Mathematica
    f[n_] := BitOr[n, 8n]; Array[f, 55, 0] (* Robert G. Wilson v, Jun 28 2010 *)

Extensions

More terms from R. J. Mathar and Robert G. Wilson v, Jun 26 2010

A178890 a(n) = n OR 3n, where OR is bitwise OR.

Original entry on oeis.org

0, 3, 6, 11, 12, 15, 22, 23, 24, 27, 30, 43, 44, 47, 46, 47, 48, 51, 54, 59, 60, 63, 86, 87, 88, 91, 94, 91, 92, 95, 94, 95, 96, 99, 102, 107, 108, 111, 118, 119, 120, 123, 126, 171, 172, 175, 174, 175, 176, 179, 182, 187, 188, 191, 182, 183, 184, 187, 190, 187, 188
Offset: 0

Views

Author

Dmitry Kamenetsky, Jun 21 2010

Keywords

Crossrefs

Programs

  • Mathematica
    f[n_] := BitOr[n, 3n]; Array[f, 61, 0] (* Robert G. Wilson v, Jun 28 2010 *)

Extensions

More terms from Robert G. Wilson v, Jun 28 2010

A178892 a(n) = n OR 5n, where OR is bitwise OR.

Original entry on oeis.org

0, 5, 10, 15, 20, 29, 30, 39, 40, 45, 58, 63, 60, 77, 78, 79, 80, 85, 90, 95, 116, 125, 126, 119, 120, 125, 154, 159, 156, 157, 158, 159, 160, 165, 170, 175, 180, 189, 190, 231, 232, 237, 250, 255, 252, 237, 238, 239, 240, 245, 250, 255, 308, 317, 318, 311, 312
Offset: 0

Views

Author

Dmitry Kamenetsky, Jun 21 2010

Keywords

Crossrefs

Programs

  • Mathematica
    f[n_] := BitOr[n, 5n]; Array[f, 57, 0] (* Robert G. Wilson v, Jun 28 2010 *)

Extensions

More terms from Robert G. Wilson v, Jun 28 2010

A178893 a(n) = n OR 6n, where OR is bitwise OR.

Original entry on oeis.org

0, 7, 14, 19, 28, 31, 38, 47, 56, 63, 62, 75, 76, 79, 94, 95, 112, 119, 126, 115, 124, 127, 150, 159, 152, 159, 158, 187, 188, 191, 190, 191, 224, 231, 238, 243, 252, 255, 230, 239, 248, 255, 254, 299, 300, 303, 318, 319, 304, 311, 318, 307, 316, 319, 374, 383
Offset: 0

Views

Author

Dmitry Kamenetsky, Jun 21 2010

Keywords

Crossrefs

Programs

  • Mathematica
    f[n_] := BitOr[n, 6n]; Array[f, 56, 0] (* Robert G. Wilson v, Jun 28 2010 *)

Extensions

More terms from Robert G. Wilson v, Jun 28 2010

A178896 a(n) = n OR 9n, where OR is bitwise OR.

Original entry on oeis.org

0, 9, 18, 27, 36, 45, 54, 63, 72, 89, 90, 107, 108, 125, 126, 143, 144, 153, 178, 187, 180, 189, 214, 223, 216, 249, 250, 251, 252, 285, 286, 287, 288, 297, 306, 315, 356, 365, 374, 383, 360, 377, 378, 427, 428, 445, 446, 431, 432, 441, 498, 507, 500, 509, 502
Offset: 0

Views

Author

Dmitry Kamenetsky, Jun 21 2010

Keywords

Crossrefs

Programs

  • Mathematica
    f[n_] := BitOr[n, 9n]; Array[f, 55, 0] (* Robert G. Wilson v, Jun 28 2010 *)

Extensions

More terms from Robert G. Wilson v, Jun 28 2010

A178897 a(n) = n OR 10n, where OR is bitwise OR.

Original entry on oeis.org

0, 11, 22, 31, 44, 55, 62, 71, 88, 91, 110, 111, 124, 143, 142, 159, 176, 187, 182, 191, 220, 215, 222, 247, 248, 251, 286, 287, 284, 319, 318, 319, 352, 363, 374, 383, 364, 375, 382, 423, 440, 443, 430, 431, 444, 495, 494, 511, 496, 507, 502, 511, 572, 567
Offset: 0

Views

Author

Dmitry Kamenetsky, Jun 21 2010

Keywords

Crossrefs

Programs

  • Mathematica
    f[n_] := BitOr[n, 10n]; Array[f, 54, 0] (* Robert G. Wilson v, Jun 28 2010 *)

Extensions

More terms from Robert G. Wilson v, Jun 28 2010

A115772 Integers i such that 13*i = A048720bi(21,i).

Original entry on oeis.org

0, 5, 10, 15, 20, 21, 30, 31, 40, 42, 45, 47, 60, 61, 62, 63, 80, 84, 85, 90, 94, 95, 120, 122, 124, 125, 126, 127, 160, 165, 168, 170, 173, 175, 180, 181, 188, 189, 190, 191, 240, 244, 245, 248, 250, 252, 253, 254, 255, 320, 330, 336, 340, 341, 346, 350, 351
Offset: 0

Views

Author

Antti Karttunen, Jan 30 2006

Keywords

Comments

Here * stands for ordinary multiplication and A048720 is the carryless (GF(2)[X]) multiplication.
a(n) appears to be the set of all n that can be expressed as x OR 4x for the bitwise OR operation. [From Gary Detlefs Dec 20 2010]

Crossrefs

Row 13 of A115872. Cf. A048717, A115767, A115770. Superset of A115774 ? A115776 gives the terms which are not in A115774. A115773 shows this sequence in binary.
Showing 1-8 of 8 results.