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.

A300578 a(n) is the decimal expansion of A300557(n).

Original entry on oeis.org

1, 26, 1727, 7076132, 231870716781, 60783517180063158, 127472274621203814023167, 547489250644801169379970741995656, 37623174822895486958552494948931181936744857, 41367118191622837379322233166045341842673946719874099882
Offset: 1

Views

Author

Seiichi Manyama, Mar 09 2018

Keywords

Examples

			n |  A300557(n)             |  a(n)
--------------------------------------
1 | 1                       | 1
2 | 11010                   | 26
3 | 11010111111             | 1727
4 | 11010111111100100100100 | 7076132
		

Crossrefs

Cf. A300557.

A300558 a(n) is the concatenation n written in base 2 n times, n-1 written in base 2 n-1 times, ..., 1 written in base 2 once.

Original entry on oeis.org

1, 10101, 11111110101, 10010010010011111110101, 10110110110110110010010010011111110101, 11011011011011011010110110110110110010010010011111110101, 11111111111111111111111011011011011011010110110110110110010010010011111110101
Offset: 1

Views

Author

Seiichi Manyama, Mar 08 2018

Keywords

Crossrefs

Programs

  • Ruby
    def A300558(n)
      a = '1'
      [1] + (2..n).map{|i| a = (i.to_s(2) * i + a.to_s).to_i}
    end
    p A300558(10)
Showing 1-2 of 2 results.