login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A081869 a(1)=2; for n>1, a(n)=2*a(n-1)-1 if that number is composite, a(n)=a(n-1)+1 otherwise. 0
2, 3, 4, 5, 9, 10, 11, 21, 22, 23, 45, 46, 91, 92, 183, 365, 729, 1457, 2913, 5825, 11649, 11650, 23299, 46597, 93193, 186385, 186386, 372771, 745541, 1491081, 2982161, 5964321, 5964322, 11928643, 23857285, 47714569, 95429137, 95429138, 190858275 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

FORMULA

a(n)=s(n)*2^c(n) where c(n) is an integer sequence and s(n) converges to 1.422004961641565758470595....

CROSSREFS

Sequence in context: A046029 A139456 A194410 * A015837 A075177 A062096

Adjacent sequences:  A081866 A081867 A081868 * A081870 A081871 A081872

KEYWORD

nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Apr 12 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 19:13 EST 2012. Contains 206085 sequences.