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.

A342279 A bisection of A000201: a(n) = A000201(2*n+1).

Original entry on oeis.org

1, 4, 8, 11, 14, 17, 21, 24, 27, 30, 33, 37, 40, 43, 46, 50, 53, 56, 59, 63, 66, 69, 72, 76, 79, 82, 85, 88, 92, 95, 98, 101, 105, 108, 111, 114, 118, 121, 124, 127, 131, 134, 137, 140, 144, 147, 150, 153, 156, 160, 163, 166, 169, 173, 176, 179, 182, 186, 189
Offset: 0

Views

Author

N. J. A. Sloane, Mar 16 2021

Keywords

Crossrefs

Programs

  • Python
    import math
    phi = (1 + math.sqrt(5))/2
    for n in range(101):
        print(int(math.floor((2*n)+ 1) * phi), end=',')
    # Alvin Hoover Belt, Mar 17 2021
    
  • Python
    from math import isqrt
    def A342279(n): return ((m:=(n<<1)+1)+isqrt(5*m**2)>>1) # Chai Wah Wu, Aug 10 2022