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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010737 a(n) = 2*a(n-2) + 1. 2
4, 6, 9, 13, 19, 27, 39, 55, 79, 111, 159, 223, 319, 447, 639, 895, 1279, 1791, 2559, 3583, 5119, 7167, 10239, 14335, 20479, 28671, 40959, 57343, 81919, 114687, 163839, 229375, 327679, 458751, 655359 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

FORMULA

a(2n)=5*2^n-1 and a(2n+1)=7*2^n-1 or a(n)=(6-(-1)^n)*2^floor(n/2)-1 - Benoit Cloitre (benoit7848c(AT)orange.fr), May 04 2003

MAPLE

A010737 := proc(n) options remember; if n <= 1 then 2*n+4 else 2*A010737(n-2)+1; fi end;

PROG

(PARI) a(n)=(6-(-1)^n)*2^floor(n/2)-1

CROSSREFS

Sequence in context: A084916 A187910 A020747 * A048625 A120134 A112381

Adjacent sequences:  A010734 A010735 A010736 * A010738 A010739 A010740

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Ulrich Hund (hund(AT)math.tu-berlin.de)

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 14 15:32 EST 2012. Contains 205635 sequences.