Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A082404
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A082404 Triangle in which n-th row gives trajectory of n under the map x -> x/2 if x is even, x -> x-1 if x is odd, stopping when we reach 1. +0
2
1, 2, 1, 3, 2, 1, 4, 2, 1, 5, 4, 2, 1, 6, 3, 2, 1, 7, 6, 3, 2, 1, 8, 4, 2, 1, 9, 8, 4, 2, 1 (list; graph; listen)
OFFSET

2,2

COMMENT

If you write down 0 when divide by 2, 1 when subtract 1, the trajectory gives the binary expansion of n.

EXAMPLE

1; 2,1; 3,2,1; 4,2,1; 5,4,2,1; 6,3,2,1; ...

CROSSREFS

A better version of A080825.

Sequence in context: A083368 A112379 A073932 this_sequence A120885 A057058 A141672

Adjacent sequences: A082401 A082402 A082403 this_sequence A082405 A082406 A082407

KEYWORD

easy,nonn,tabf,more

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Apr 14 2003

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research