login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A047358 Numbers that are congruent to {2, 3} mod 7. 1
2, 3, 9, 10, 16, 17, 23, 24, 30, 31, 37, 38, 44, 45, 51, 52, 58, 59, 65, 66, 72, 73, 79, 80, 86, 87, 93, 94, 100, 101, 107, 108, 114, 115, 121, 122, 128, 129, 135, 136, 142, 143, 149, 150, 156, 157, 163, 164, 170 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Michael De Vlieger, Table of n, a(n) for n = 1..10000

Index entries for linear recurrences with constant coefficients, signature (1,1,-1).

FORMULA

a(n) = 7*n - a(n-1) - 9, n > 1. - Vincenzo Librandi, Aug 05 2010

G.f.: x*(2+x+4*x^2) / ( (1+x)*(x-1)^2 ). - R. J. Mathar, Dec 04 2011

MATHEMATICA

Select[Range@ 170, MemberQ[{2, 3}, Mod[#, 7]] &] (* or *)

Fold[Append[#1, 7 #2 - Last@ #1 - 9] &, {2}, Range[2, 49]] (* or *)

Rest@ CoefficientList[Series[x (2 + x + 4 x^2)/((1 + x) (x - 1)^2), {x, 0, 49}], x] (* Michael De Vlieger, Jan 12 2018 *)

CROSSREFS

Sequence in context: A279549 A030743 A098020 * A280731 A003140 A057234

Adjacent sequences:  A047355 A047356 A047357 * A047359 A047360 A047361

KEYWORD

nonn

AUTHOR

N. J. A. Sloane

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 14 04:13 EDT 2020. Contains 336477 sequences. (Running on oeis4.)