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.

A326422 Numbers k such that A000045(k) mod 5 is prime.

Original entry on oeis.org

3, 4, 6, 7, 13, 14, 16, 17, 23, 24, 26, 27, 33, 34, 36, 37, 43, 44, 46, 47, 53, 54, 56, 57, 63, 64, 66, 67, 73, 74, 76, 77, 83, 84, 86, 87, 93, 94, 96, 97, 103, 104, 106, 107, 113, 114, 116, 117, 123, 124, 126, 127, 133, 134, 136, 137, 143, 144, 146, 147, 153, 154, 156, 157
Offset: 1

Views

Author

Vincenzo Librandi, Jul 06 2019

Keywords

Comments

Position of prime numbers in A082116.

Crossrefs

Partial sums of A010123.

Programs

  • Magma
    [n: n in [0..200] | IsPrime(Fibonacci(n) mod 5)];
  • Mathematica
    Select[Range[160], MemberQ[{2, 3}, Mod[Fibonacci[#], 5]] &]

Formula

G.f.: x*(3*x^2+4*x+3)*(x^2-x+1)/((x+1)*(x^2+1)*(x-1)^2). - Alois P. Heinz, Jul 08 2019
E.g.f.: (6 - 2*cos(x) + (5*x - 4)*cosh(x) + 2*sin(x) + (5*x - 1)*sinh(x))/2. - Stefano Spezia, Jul 15 2025