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.

A074000 Number of elements of GF(3^n) with trace 0 and subtrace 0.

Original entry on oeis.org

1, 1, 3, 9, 21, 99, 225, 729, 2187, 6561, 19845, 58563, 177633, 531441, 1594323, 4782969, 14344533, 43059843, 129127041, 387420489, 1162261467
Offset: 1

Views

Author

Frank Ruskey and Nate Kube, Aug 19 2002

Keywords

Crossrefs

Programs

  • Sage
    def a(n):
        if n==1: return 1
        ans = 0
        for x in GF(3^n):
            if x.charpoly().coefficients(sparse=False)[-3:-1]==[0, 0]: ans += 1
        return ans  # Robin Visser, Dec 28 2024

Formula

Appears to satisfy a linear recurrence of order 5 with signature (0, 3, 9, 18, 27). This also applies to sequences A074001-A074005. - Andrey Zabolotskiy, Dec 30 2024

Extensions

a(18) corrected and a(21) added by Robin Visser, Dec 28 2024