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.

A190480 Concatenation of first n digits in the concatenation of first n primes written in base 2.

Original entry on oeis.org

1, 10, 101, 1011, 10111, 101110, 1011101, 10111011, 101110111, 1011101111, 10111011111, 101110111110, 1011101111101, 10111011111011, 101110111110111, 1011101111101111, 10111011111011110, 101110111110111101, 1011101111101111011
Offset: 1

Views

Author

Juri-Stepan Gerasimov, May 24 2011

Keywords

Comments

The terms are 1, 2, 5, 11, 23, 46, 93, 185, 375, ... in decimal.
The terms are the first n digits of the concatenation 10//11//101//111//1011//1101//.. generated with A004676.

Crossrefs

Cf. A019518.

Programs

  • Mathematica
    With[{cc=Flatten[Table[IntegerDigits[p,2],{p,Prime[ Range[ 10]]}]]},Table[ FromDigits[Take[cc,n]],{n,Length[cc]}]] (* Harvey P. Dale, Jan 26 2021 *)