Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A030451
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A030451 Once started, this mixes the natural numbers and the natural numbers shifted by 1. +0
6
0, 2, 1, 3, 2, 4, 3, 5, 4, 6, 5, 7, 6, 8, 7, 9, 8, 10, 9, 11, 10, 12, 11, 13, 12, 14, 13, 15, 14, 16, 15, 17, 16, 18, 17, 19, 18, 20, 19, 21, 20, 22, 21, 23, 22, 24, 23, 25, 24, 26, 25, 27, 26, 28, 27, 29, 28, 30, 29, 31, 30, 32, 31, 33, 32, 34, 33, 35, 34, 36, 35, 37, 36, 38, 37 (list; graph; listen)
OFFSET

0,2

COMMENT

a(n) = A110570(n,2) for n>1. - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Jul 28 2005

Except for the first term, a(n)=n-a(n-1)+1 (with a(1)=2) [From Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Nov 20 2009]

LINKS

Index entries for two-way infinite sequences

FORMULA

a(n) = 3/4 -(-1^n)*3/4 +n/2.

G.f.: (2x-x^2)/((1-x)(1-x^2)). a(2n)=n. a(2n+1)=n+2. a(n+2)=a(n)+1. a(n)=-a(-3-n).

PROGRAM

(PARI) a(n)=n\2+2*(n%2)

CROSSREFS

Cf. A028242.

Sequence in context: A066136 A097140 A028242 this_sequence A029162 A005044 A029142

Adjacent sequences: A030448 A030449 A030450 this_sequence A030452 A030453 A030454

KEYWORD

nonn,new

AUTHOR

Daniel Smith (2true(AT)gte.net)

page 1

Search completed in 0.004 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 25 08:46 EST 2009. Contains 167481 sequences.


AT&T Labs Research