Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A123087
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A123087 Sequence of numbers such that a(2*n)+a(n)=n and a(n)is the smallest number such that a(n)>=a(n-1). +0
1
0, 0, 1, 1, 1, 1, 2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 8, 8, 9, 9, 9, 9, 10, 10, 11, 11, 12, 12, 12, 12, 13, 13, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 23, 24, 24, 25, 25, 25, 25, 26 (list; graph; listen)
OFFSET

0,7

FORMULA

a(0)=0, a(n)=floor(n/2)-a(floor(n/2)) ; partial sums of A096268 ; a(2n)=A050292(n) ; a(n) is asymptotic to n/3 - Benoit Cloitre (abmt(AT)orange.fr), Sep 30 2006

EXAMPLE

a(2*0)+a(0)=0----->a(0)=0.

a(1)>=a(0)-------->a(1)=0.

a(2*1)+a(1)=1----->a(2)=1.

a(3)>=a(2)-------->a(3)=1.

a(2*2)+a(2)=2----->a(4)=1.

a(5)>=a(4)-------->a(5)=1.

a(2*3)+a(3)=3----->a(6)=2.

a(7)>=a(6)-------->a(7)=2.

a(2*4)+a(4)=4----->a(8)=3.

a(9)>=a(8)-------->a(9)=3.

a(2*5)+a(5)=5----->a(10)=4.

a(11)>=a(10)------>a(11)=4.

a(2*6)+a(6)=6----->a(12)=4.

a(13)>=a(12)------>a(13)=4.

a(2*7)+a(7)=7----->a(14)=5.

PROGRAM

(PARI) a(n)=if(n<1, 0, floor(n/2)-a(floor(n/2))) - Benoit Cloitre (abmt(AT)orange.fr), Sep 30 2006

CROSSREFS

Sequence in context: A062571 A102515 A066063 this_sequence A071868 A082447 A139789

Adjacent sequences: A123084 A123085 A123086 this_sequence A123088 A123089 A123090

KEYWORD

nonn

AUTHOR

Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Sep 27 2006

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 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research