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.

A047332 Numbers that are congruent to {0, 2, 3, 5, 6} mod 7.

Original entry on oeis.org

0, 2, 3, 5, 6, 7, 9, 10, 12, 13, 14, 16, 17, 19, 20, 21, 23, 24, 26, 27, 28, 30, 31, 33, 34, 35, 37, 38, 40, 41, 42, 44, 45, 47, 48, 49, 51, 52, 54, 55, 56, 58, 59, 61, 62, 63, 65, 66, 68, 69, 70, 72, 73, 75, 76, 77, 79, 80, 82, 83, 84, 86, 87, 89, 90, 91, 93, 94, 96, 97
Offset: 1

Views

Author

Keywords

Programs

  • Mathematica
    Floor[(7*Range[100] - 3)/5] (* Paolo Xausa, May 29 2025 *)

Formula

a(n) = a(n-5)+7. O.g.f.: x^2*(2+x+2*x^2+x^3+x^4)/((-1+x)^2*(x^4+x^3+x^2+x+1)). - R. J. Mathar, Apr 19 2008
a(n) = floor((7*n-3)/5). - Jason Yuen, May 27 2025