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.

A353147 Decimal repunits written in base 8.

Original entry on oeis.org

0, 1, 13, 157, 2127, 25547, 331007, 4172107, 52305307, 647665707, 10216432707, 122621414707, 1473657200707, 20126330410707, 241540165130707, 3120702223570707, 37450626705270707, 473627744665470707, 6125757360430070707, 75533532545361070707
Offset: 0

Views

Author

Seiichi Manyama, Apr 26 2022

Keywords

Crossrefs

Programs

  • PARI
    a(n) = fromdigits(digits((10^n-1)/9, 8));
    
  • Python
    def a(n): return 0 if n == 0 else int(oct(int("1"*n))[2:])
    print([a(n) for n in range(13)]) # Michael S. Branicky, Apr 26 2022

Formula

a(n) = A007094(A002275(n)).