Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A070992
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A070992 Partial sums of A002487. +0
1
1, 3, 4, 7, 9, 12, 13, 17, 20, 25, 27, 32, 35, 39, 40, 45, 49, 56, 59, 67, 72, 79, 81, 88, 93, 101, 104, 111, 115, 120, 121, 127, 132, 141, 145, 156, 163, 173, 176, 187, 195, 208, 213, 225, 232, 241, 243, 252, 259, 271, 276, 289, 297, 308, 311, 321, 328, 339, 343, 352, 357 (list; graph; listen)
OFFSET

0,2

FORMULA

a(2n) = a(n-2)+2a(n-1)+2, a(2n+1) = 2a(n-1)+a(n)+2. - Ralf Stephan (ralf(AT)ark.in-berlin.de), Oct 08 2003

PROGRAM

(PARI) a(n)=if(n<2, if(n<1, 1, 3), if(n%2==0, if(n==2, 4, a(n/2-2)+2*a(n/2-1)+2), 2*a((n-3)/2)+a((n-1)/2)+2))

CROSSREFS

Sequence in context: A035238 A003136 A034022 this_sequence A060142 A049844 A140402

Adjacent sequences: A070989 A070990 A070991 this_sequence A070993 A070994 A070995

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), May 24 2002

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 1 13:27 EST 2009. Contains 167806 sequences.


AT&T Labs Research