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.

A345671 Inverse permutation to A344792.

Original entry on oeis.org

1, 3, 6, 2, 13, 4, 12, 27, 8, 5, 25, 54, 7, 17, 10, 24, 51, 108, 55, 15, 34, 9, 21, 48, 50, 103, 216, 109, 111, 30, 16, 69, 18, 20, 43, 96, 49, 101, 206, 26, 433, 218, 110, 223, 60, 31, 33, 138, 35, 37, 40, 42, 87, 192, 97, 99, 202, 102, 413, 52, 432, 867, 436
Offset: 1

Views

Author

John-Vincent Saddic, Jun 21 2021

Keywords

Comments

This is a permutation of the natural numbers.
The apparent straight line commanding the top of the log/log graph (see Links) comprises coordinates of the form (A061419(k), floor(c * 2^(k-1))) where c is 1.6939... (A205083 read as a binary fraction).

Examples

			A344792(5) = 10, a(10) = 5.
		

Crossrefs

Programs

  • PARI
    a(n) = my(ret=0,k=0,r); n<<=1; while(n>1, [n,r]=divrem(n<<1,3); if(r!=1, if(r,ret+=1<Kevin Ryde, Jul 10 2021

Formula

a(A344792(n)) = n.

A346176 Decimal expansion of A205083 read as a binary fraction.

Original entry on oeis.org

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

Views

Author

John-Vincent Saddic, Jul 08 2021

Keywords

Comments

This constant can be used to calculate the index n of A061419(k) in A344792: n = floor(1.6939... * 2^(k-1)) for k>0.
Likewise, since A345671 is the inverse of A344792, A345671(A061419(n)) = floor(1.6939... * 2^(n-1)).

Examples

			1.693949137838000408253076952170721934876578267534491115947...
		

Crossrefs

Formula

Equals Sum_{n>=1} A205083(n)/2^(n-1).
Equals lim_{n -> infinity} (A345671(A061419(n))/2^(n-1)).
Showing 1-2 of 2 results.