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.

A014981 a(n) = c(prime(n))/prime(n), where c = Perrin sequence A001608 (starting 0,2,3,...) and prime(n) is the n-th prime.

Original entry on oeis.org

1, 1, 1, 1, 2, 3, 7, 11, 28, 120, 197, 892, 2479, 4148, 11687, 56010, 271913, 461529, 2270882, 6599404, 11263855, 56250108, 164879269, 830987861, 7231032935, 21386730355, 36802336319, 109099442316, 187943217386
Offset: 1

Views

Author

Keywords

Crossrefs

See A001608, the main entry for the Perrin sequence.

Programs

  • PARI
    c(n) = polsym(x^3-x-1,n)[n+1]; \\ A001608
    a(n) = my(p=prime(n)); c(p)/p; \\ Michel Marcus, Mar 03 2022