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.

A345419 Row 2 of array in A345417.

Original entry on oeis.org

1, 0, 2, -2, 4, -4, 6, -6, 8, 10, -10, -12, 14, -14, 16, 18, 20, -20, -22, 24, -24, -26, 28, 30, -32, 34, -34, 36, -36, 38, -42, 44, 46, -46, 50, -50, -52, -54, 56, 58, 60, -60, 64, -64, 66, -66, -70, -74, 76, -76, 78, 80, -80, 84, 86, 88, 90, -90, -92, 94, -94, 98, -102, 104, -104
Offset: 1

Views

Author

N. J. A. Sloane, Jun 19 2021

Keywords

Crossrefs

Programs

  • Python
    from sympy.core.numbers import igcdex
    from sympy import prime
    def A345419(n): return igcdex(3, prime(n))[0] # Chai Wah Wu, Jul 01 2021