Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A163980
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A163980 2*n+(-1)^n. +0
1
1, 5, 5, 9, 9, 13, 13, 17, 17, 21, 21, 25, 25, 29, 29, 33, 33, 37, 37, 41, 41, 45, 45, 49, 49, 53, 53, 57, 57, 61, 61, 65, 65, 69, 69, 73, 73, 77, 77, 81, 81, 85, 85, 89, 89, 93, 93, 97, 97, 101, 101, 105, 105, 109, 109, 113, 113, 117, 117, 121, 121, 125, 125, 129, 129, 133 (list; graph; listen)
OFFSET

1,2

FORMULA

a(n)=A005843(n)-(-1)^A001477(n)=2*A000027(n)+(-1)^A000027(n)=A005843(n)+A033999(n).

a(n)= a(n-1)+a(n-2)-a(n-3). G.f.: x*(1+4*x-x^2)/((1+x)*(x-1)^2). [R. J. Mathar, Aug 21 2009]

EXAMPLE

a(1)=2-(-1)^0=1. a(2)=4-(-1)^1=5. a(3)=6-(-1)^2=5.

CROSSREFS

Cf. A000027, A004442, A005843, A033999.

Sequence in context: A030798 A021951 A124175 this_sequence A011986 A047880 A058491

Adjacent sequences: A163977 A163978 A163979 this_sequence A163981 A163982 A163983

KEYWORD

nonn,easy

AUTHOR

Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Aug 09 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research