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.

A047355 Numbers that are congruent to {0, 3} mod 7.

Original entry on oeis.org

0, 3, 7, 10, 14, 17, 21, 24, 28, 31, 35, 38, 42, 45, 49, 52, 56, 59, 63, 66, 70, 73, 77, 80, 84, 87, 91, 94, 98, 101, 105, 108, 112, 115, 119, 122, 126, 129, 133, 136, 140, 143, 147, 150, 154, 157, 161, 164, 168, 171, 175, 178, 182, 185, 189, 192, 196, 199, 203
Offset: 1

Views

Author

Keywords

Comments

Numbers k such that k^2/7 + k*(k + 1)/7 = k*(2*k + 1)/7 is a nonnegative integer. - Bruno Berselli, Feb 14 2017

Crossrefs

Cf. A030123, A010702 (first differences).

Programs

Formula

a(n) = a(n-2) + 7 = a(n-1) + a(n-2) - a(n-3). - Henry Bottomley, Jan 19 2001
From Bruno Berselli, Sep 12 2011: (Start)
G.f.: x^2*(3 + 4*x)/((1 + x)*(1 - x)^2).
a(n) = (14*n - (-1)^n - 15)/4. (End)
a(n+1) = Sum_{k>=0} A030308(n,k)*A125176(k+2). - Philippe Deléham, Oct 17 2011
a(n) = 2*n - 2 + floor((3*n - 3)/2). - Wesley Ivan Hurt, Jan 30 2014
E.g.f.: 4 + ((14*x - 15)*exp(x) - exp(-x))/4. - David Lovler, Aug 31 2022