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.

A100751 Concatenate all natural numbers starting with 1 in binary like this 11011100101110111100010011010..., then a(n) = the number formed from the next n digits (by dropping leading zeros). 1, 10, 111, 0010, 11101, 111000, ... 1, 10, 111, 10, 11101, 111000, ...

This page as a plain text file.
%I A100751 #14 Jan 21 2021 18:33:42
%S A100751 1,10,111,10,11101,111000,1001101,1011110,11011110,1111100001,
%T A100751 11001010,11101001010,1101101011111,11001110101,101111100111011,
%U A100751 1110111111000001,1100010100011,100100100101100110,1001111010001010011
%N A100751 Concatenate all natural numbers starting with 1 in binary like this 11011100101110111100010011010..., then a(n) = the number formed from the next n digits (by dropping leading zeros). 1, 10, 111, 0010, 11101, 111000, ... 1, 10, 111, 10, 11101, 111000, ...
%H A100751 John Cerkan, <a href="/A100751/b100751.txt">Table of n, a(n) for n = 1..996</a>
%e A100751 1, 10, 111, 0010, 11101, 111000, ... becomes
%e A100751 1, 10, 111, 10, 11101, 111000, ...
%t A100751 d = Flatten[ Table[ IntegerDigits[n, 2], {n, 45}]]; Table[ FromDigits[ Take[d, {n(n + 1)/2 + 1, (n + 1)(n + 2)/2}]], {n, 0, 18}] (* _Robert G. Wilson v_, Nov 22 2004 *)
%t A100751 Module[{nn=50,b,x},b=Flatten[IntegerDigits[Range[nn],2]];x = Floor[ (Sqrt[1+8 Length[ b]]-1)/2];FromDigits[#]&/@TakeList[b,Range[x]]] (* Requires Mathematica version 11 or later *) (* _Harvey P. Dale_, Jan 21 2021 *)
%Y A100751 Cf. A066547, A100489.
%K A100751 base,easy,nonn
%O A100751 1,2
%A A100751 _Amarnath Murthy_, Nov 20 2004
%E A100751 More terms from _Robert G. Wilson v_, Nov 22 2004