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.

Showing 1-3 of 3 results.

A112059 Nonzero terms of A112053 and A112080.

Original entry on oeis.org

2, -2, 4, 8, -2, 12, -6, 12, 2, -2, -6, 18, -6, 2, -6, -4, 2, -2, 18, 2, -2, 24, 6, -2, 6, -8, 4, 2, -2, -6, 32, -6, 2, -6, -10, 2, -2, 28, 2, -2, 4, 38, -2, 6, -6, 4, 2, -2, -4, 42, -6, 2, -8, -4, 2, -2, 2, -2, 6, 8, -2, 48, -6, 4, 2, -2, -10, 6, -12, 2, -6, -4, 2, -2, 2, -2, 52, 8
Offset: 1

Views

Author

Antti Karttunen, Aug 27 2005

Keywords

Crossrefs

Programs

  • Python
    from sympy import jacobi_symbol as J
    def a112046(n):
        i=1
        while True:
            if J(i, 2*n + 1)!=1: return i
            else: i+=1
    def a(n): return a112046(2*n) - a112046(2*n - 1)
    print([a(n) for n in range(1, 201) if a(n)!=0]) # Indranil Ghosh, May 25 2017

Formula

a(n) = A112053(A112054(n)).

A112082 Indices where A112080 is zero.

Original entry on oeis.org

1, 4, 6, 9, 10, 11, 14, 16, 19, 21, 24, 25, 26, 29, 31, 34, 36, 39, 41, 44, 45, 46, 49, 51, 54, 56, 59, 60, 61, 64, 66, 69, 71, 74, 76, 79, 80, 81, 84, 86, 89, 91, 94, 95, 96, 99, 101, 104, 105, 106, 109, 111, 114, 115, 116, 119, 121, 124, 126, 129, 130, 131, 134
Offset: 1

Views

Author

Antti Karttunen, Aug 27 2005

Keywords

Crossrefs

Cf. A112055.

A112081 A112080(n)/2.

Original entry on oeis.org

0, 1, -1, 0, 2, 0, 4, -1, 0, 0, 0, 6, -3, 0, 6, 0, 1, -1, 0, -3, 0, 9, -3, 0, 0, 0, 1, -3, 0, -2, 0, 1, -1, 0, 9, 0, 1, -1, 0, 12, 0, 3, -1, 0, 0, 0, 3, -4, 0, 2, 0, 1, -1, 0, -3, 0, 16, -3, 0, 0, 0, 1, -3, 0, -5, 0, 1, -1, 0, 14, 0, 1, -1, 0, 2, 0, 19, -1, 0, 0, 0, 3, -3, 0, 2, 0, 1, -1, 0
Offset: 1

Views

Author

Antti Karttunen, Aug 27 2005

Keywords

Showing 1-3 of 3 results.