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.

A112874 Numbers n such that the coefficient of x^n in (x^2-x-1)^n is prime.

Original entry on oeis.org

3, 4, 5, 6, 7, 10, 11, 12, 26, 160, 3787, 31877
Offset: 1

Views

Author

T. D. Noe, Sep 29 2005

Keywords

Comments

n=31877 yields a probable prime; the others have been proved prime. These n were also found by Eric Weisstein, who found no other n<100000.

Crossrefs

Cf. A098331 (coefficient of x^n in (x^2-x-1)^n).

Programs

  • Mathematica
    Select[Range[200], PrimeQ[Coefficient[Expand[(x^2-x-1)^# ], x, # ]]&]