login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A047607 Numbers that are congruent to {0, 1, 2, 3, 5} mod 8. 1
0, 1, 2, 3, 5, 8, 9, 10, 11, 13, 16, 17, 18, 19, 21, 24, 25, 26, 27, 29, 32, 33, 34, 35, 37, 40, 41, 42, 43, 45, 48, 49, 50, 51, 53, 56, 57, 58, 59, 61, 64, 65, 66, 67, 69, 72, 73, 74, 75, 77, 80, 81, 82, 83, 85, 88, 89 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Table of n, a(n) for n=1..57.

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

FORMULA

G.f.: x^2*(3*x^4+2*x^3+x^2+x+1)/((x-1)^2*(x^4+x^3+x^2+x+1)). [Colin Barker, Jul 02 2012]

MATHEMATICA

Flatten[Table[8n + {0, 1, 2, 3, 5}, {n, 0, 15}]] (* Alonso del Arte, Jan 13 2014 *)

PROG

(PARI) a(n)=(n-1)\5<<3+(n-1)%5+(n%5==0) \\ Charles R Greathouse IV, Sep 06 2011

CROSSREFS

Sequence in context: A169655 A286489 A002153 * A113051 A047372 A247547

Adjacent sequences:  A047604 A047605 A047606 * A047608 A047609 A047610

KEYWORD

nonn,easy

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 February 15 22:28 EST 2019. Contains 320138 sequences. (Running on oeis4.)