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.

A085242 a(n) = A085239(n+1) - 2.

Original entry on oeis.org

0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0
Offset: 1

Views

Author

Reinhard Zumkeller, Jun 22 2003

Keywords

Crossrefs

Cf. A085239.

Programs

  • PARI
    upto(L) = my(v2=2, v3=1, r=List()); while(v3Ruud H.G. van Tol, May 10 2024
    
  • Python
    from sympy import integer_log
    def A085242(n): return int(6**integer_log(m:=3**n,6)[0]<<1>=m) # Chai Wah Wu, Feb 05 2025

Extensions

Name corrected by Ruud H.G. van Tol, May 10 2024