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.

A018184 Powers of fifth root of 24 rounded to nearest integer.

Original entry on oeis.org

1, 2, 4, 7, 13, 24, 45, 86, 162, 305, 576, 1088, 2054, 3877, 7321, 13824, 26102, 49285, 93059, 175713, 331776, 626451, 1182849, 2233427, 4217101, 7962624, 15034828, 28388386, 53602242, 101210414, 191102976
Offset: 0

Views

Author

Keywords

Programs

  • Python
    from gmpy2 import iroot_rem
    def A018142(n):
        i,j = iroot_rem(24**n,5)
        return int(i) + int(32*j >= 10*i*(4*i*(2*i*(i + 1) + 1) + 1) + 1) # Chai Wah Wu, Aug 18 2016