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-2 of 2 results.

A175468 Those positive integers n such that n = (2^m +1)*k, each for some positive integer m, and k < 2^m.

Original entry on oeis.org

3, 5, 9, 10, 15, 17, 18, 27, 33, 34, 36, 45, 51, 54, 63, 65, 66, 68, 85, 99, 102, 119, 129, 130, 132, 136, 153, 165, 170, 187, 195, 198, 204, 221, 231, 238, 255, 257, 258, 260, 264, 297, 325, 330, 363, 387, 390, 396, 429, 455, 462, 495, 513, 514, 516, 520, 528
Offset: 1

Views

Author

Leroy Quet, May 24 2010

Keywords

Comments

Written in binary, each term consists of a given series of digits repeated twice, once at the beginning of the number and once at the end, separated by any number of 0's.

Examples

			The first few terms written in binary: 11, 101, 1001, 1010, 1111, 10001, 10010, 11011. For instance, a(7) = 18 is 10010 in binary. This binary representation is made up of a 10 (2 in decimal) occurring both at the beginning and the end, with a single 0 between.
		

Crossrefs

Programs

  • Maple
    N:= 1000: # to get all terms <= N
    A:= {seq(seq((2^m+1)*k, k=1..min(2^m-1,floor(N/(2^m+1)))),m=1..ilog2(N-1))}:
    sort(convert(A,list)); # Robert Israel, Feb 08 2016
  • Mathematica
    With[{n = 528}, Union@ Flatten@ Table[(2^m + 1) k, {m, Floor@ Log2[n - 1]}, {k, Min[2^m - 1, Floor[n/(2^m + 1)]]}]] (* Michael De Vlieger, Mar 14 2018 *)

Extensions

More terms from Jon E. Schoenfield, Jun 13 2010

A175470 a(n) = The value of m in the representation of A175468(n). See A175468 for definition.

Original entry on oeis.org

1, 2, 3, 2, 2, 4, 3, 3, 5, 4, 3, 3, 4, 3, 3, 6, 5, 4, 4, 5, 4, 4, 7, 6, 5, 4, 4, 5, 4, 4, 6, 5, 4, 4, 5, 4, 4, 8, 7, 6, 5, 5, 6, 5, 5, 7, 6, 5, 5, 6, 5, 5, 9, 8, 7, 6, 5, 5, 6, 5, 5, 7, 6, 5, 5, 6, 5, 5, 8, 7, 6, 5, 5, 6, 5, 5, 7, 6, 5, 5, 6, 5, 5, 10, 9, 8, 7, 6, 6, 7, 6, 6, 8, 7, 6, 6, 7, 6, 6, 9, 8, 7, 6, 6, 7
Offset: 1

Views

Author

Leroy Quet, May 24 2010

Keywords

Crossrefs

Extensions

More terms from Jon E. Schoenfield, Jun 13 2010
Showing 1-2 of 2 results.