The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A047353 Numbers that are congruent to {1, 2} mod 7. 2
1, 2, 8, 9, 15, 16, 22, 23, 29, 30, 36, 37, 43, 44, 50, 51, 57, 58, 64, 65, 71, 72, 78, 79, 85, 86, 92, 93, 99, 100, 106, 107, 113, 114, 120, 121, 127, 128, 134, 135, 141, 142, 148, 149, 155, 156, 162, 163, 169, 170 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
From R. J. Mathar, Oct 08 2011: (Start)
a(n) = 7*n/2 - 15/4 - 5*(-1)^n/4.
G.f.: x*(1 + x + 5*x^2) / ( (1+x)*(x-1)^2 ). (End)
E.g.f.: 5 + ((14*x -15)*exp(x) - 5*exp(-x))/4. - David Lovler, Sep 11 2022
MATHEMATICA
LinearRecurrence[{1, 1, -1}, {1, 2, 8}, 50] (* Harvey P. Dale, Nov 29 2014 *)
PROG
(PARI) a(n) = (14*n - 15 - 5*(-1)^n)/4 \\ David Lovler, Sep 11 2022
CROSSREFS
Sequence in context: A073606 A305177 A327299 * A032928 A287564 A158458
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 10 03:52 EDT 2024. Contains 373253 sequences. (Running on oeis4.)