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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A047457 Numbers that are congruent to {3, 4} mod 8. 3
3, 4, 11, 12, 19, 20, 27, 28, 35, 36, 43, 44, 51, 52, 59, 60, 67, 68, 75, 76, 83, 84, 91, 92, 99, 100, 107, 108, 115, 116, 123, 124, 131, 132, 139, 140, 147, 148, 155, 156, 163, 164, 171, 172, 179, 180, 187, 188, 195, 196, 203, 204, 211, 212, 219, 220, 227 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Union of A017101 and A017113. - Michel Marcus, Feb 25 2014

LINKS

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

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

FORMULA

a(n) = 8*n - a(n-1) - 9 (with a(1) = 3). - Vincenzo Librandi, Aug 06 2010

G.f.: x*(3+x+4*x^2)/((1-x)^2*(1+x)). - Colin Barker, May 13 2012

a(n) = (-5 - 3*(-1)^n + 8*n)/2. - Colin Barker, May 14 2012

A000120(a(n)-1) = A000120(a(n)+1) = A063787(n). - Ilya Lopatin and Juri-Stepan Gerasimov, Feb 25 2014

MAPLE

A047457:=n->(-5 - 3*(-1)^n + 8*n)/2; seq(A047457(n), n=1..100); # Wesley Ivan Hurt, Mar 04 2014

MATHEMATICA

Table[(-5 - 3*(-1)^n + 8*n)/2, {n, 100}] (* Wesley Ivan Hurt, Mar 04 2014 *)

Flatten[Table[8n + {3, 4}, {n, 0, 29}]] (* Alonso del Arte, Mar 04 2014 *)

CROSSREFS

Cf. A047456 (superset).

Sequence in context: A195589 A244005 A228236 * A226632 A098377 A075646

Adjacent sequences:  A047454 A047455 A047456 * A047458 A047459 A047460

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 March 25 10:16 EDT 2019. Contains 321470 sequences. (Running on oeis4.)