Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A121496
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
%I A121496
%S A121496 1,2,2,1,3,4,4,3,5,6,6,5,7,8,8,7,9,10,10,9,11,12,12,11,13,14,14,13,15,
%T A121496 16,16,15,17,18,18,17,19,20,20,19,21,22,22,21,23,24,24,23,25,26,26,25,
%U A121496 27,28,28,27,29,30,30,29,31,32,32,31,33,34,34,33,35,36,36,35,37,38,38
%N A121496 Run lengths of successive numbers in A068225.
%C A121496 A000027 and A103889 are bisections.
%F A121496 a(2k-1) = k, a(4k) = 2k-1, a(4k-2) = 2k, k>=1.
%e A121496 The fifth run of successive numbers in A068225 is 8, 9, 10 with run length 
               three so a(5) = 3.
%o A121496 (PARI) a(n) = if(n%2==1,(n+1)/2,if(n%4==0,(n/2)-1,(n/2)+1)) for(n=1,80,
               print1(a(n),", "))
%Y A121496 Cf. A068225, A000027, A103889.
%Y A121496 Sequence in context: A123956 A113594 A102563 this_sequence A091971 A065185 
               A111375
%Y A121496 Adjacent sequences: A121493 A121494 A121495 this_sequence A121497 A121498 
               A121499
%K A121496 nonn
%O A121496 1,2
%A A121496 Rick L. Shepherd (rshepherd2(AT)hotmail.com), Aug 03 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 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research