Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A139080
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A139080 a(1)=1. a(n) = the smallest positive integer not occurring earlier in the sequence such that floor(max(a(n),a(n-1))/min(a(n),a(n-1))) = 2. +0
1
1, 2, 4, 8, 3, 6, 12, 5, 10, 20, 7, 14, 28, 11, 22, 9, 18, 36, 13, 26, 52, 19, 38, 15, 30, 60, 21, 42, 16, 32, 64, 23, 46, 17, 34, 68, 24, 48, 96, 33, 66, 25, 50, 100, 35, 70, 27, 54, 108, 37, 74, 29, 58, 116, 39, 78, 31, 62, 124, 43, 86, 40, 80, 160, 55, 110, 41, 82, 164, 56 (list; graph; listen)
OFFSET

1,2

COMMENT

Is there always an unused positive integer, a(n), such that floor(max(a(n),a(n-1))/min(a(n),a(n-1))) = 2, or does the sequence terminate? If the sequence is infinite, is it a permutation of the positive integers?

LINKS

M. F. Hasler, Table of n, a(n) for n=1,...,10000.

Leroy Quet, Home Page (listed in lieu of email address)

PROGRAM

(PARI) { t=0; last=1; for( n=1, 10000, write("b139080.txt", n, " ", last); t+=1<<last; for( i=last\3+1, last\2, bittest(t, i) & next; last=i; next(2)); for( i=last*2, last*3-1, bittest(t, i) & next; last=i; next(2)); error("THE END: n=", n)); print("Largest term used:"); log(t)\log(2)} - M. F. Hasler (www.univ-ag.fr/~mhasler), Apr 07 2008

CROSSREFS

Sequence in context: A167203 A086317 A110217 this_sequence A036118 A101942 A050170

Adjacent sequences: A139077 A139078 A139079 this_sequence A139081 A139082 A139083

KEYWORD

nonn

AUTHOR

Leroy Quet Apr 07 2008

EXTENSIONS

Additional terms calculated by Robert Israel and Maximilian Hasler, Apr 11 2008

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 20 16:54 EST 2009. Contains 171081 sequences.


AT&T Labs Research