Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A087704
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A087704 Number of steps for iteration of map x -> (5/3)*floor(x) to reach an integer > n when started at n, or -1 if no such integer is ever reached. +0
3
2, 1, 2, 4, 1, 3, 3, 1, 9, 2, 1, 2, 4, 1, 8, 5, 1, 3, 2, 1, 2, 3, 1, 9, 7, 1, 4, 2, 1, 2, 5, 1, 3, 3, 1, 4, 2, 1, 2, 8, 1, 6, 4, 1, 3, 2, 1, 2, 3, 1, 5, 4, 1, 6, 2, 1, 2, 7, 1, 3, 3, 1, 6, 2, 1, 2, 7, 1, 4, 5, 1, 3, 2, 1, 2, 3, 1, 4, 7, 1, 10, 2, 1, 2, 4, 1, 3, 3, 1, 5, 2, 1, 2, 4, 1, 8, 6, 1, 3 (list; graph; listen)
OFFSET

2,1

COMMENT

It is conjectured that an integer is always reached.

LINKS

J. C. Lagarias and N. J. A. Sloane, Approximate squaring (pdf, ps), Experimental Math., 13 (2004), 113-128.

MAPLE

f2 := proc(x, y) x*floor(y); end; r := 5/3; h := proc(x) local n, y; global r; y := f2(r, x); for n from 1 to 20 do if whattype(y) = 'integer' then RETURN([x, n, y]); else y := f2(r, y); fi; od: RETURN(['NULL', 'NULL', 'NULL']); end; [seq(h(n)[2], n=2..60)];

CROSSREFS

Cf. A087705, A087706, A087707.

Sequence in context: A125694 A136678 A110162 this_sequence A165092 A156042 A157751

Adjacent sequences: A087701 A087702 A087703 this_sequence A087705 A087706 A087707

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Sep 29 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 December 2 11:54 EST 2009. Contains 167921 sequences.


AT&T Labs Research