Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A163617
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A163617 a(2*n) = 2 * a(n). a(2*n + 1) = 2 * a(n) + 2 + (-1)^n. +0
2
0, 3, 6, 7, 12, 15, 14, 15, 24, 27, 30, 31, 28, 31, 30, 31, 48, 51, 54, 55, 60, 63, 62, 63, 56, 59, 62, 63, 60, 63, 62, 63, 96, 99, 102, 103, 108, 111, 110, 111, 120, 123, 126, 127, 124, 127, 126, 127, 112, 115, 118, 119, 124, 127, 126, 127, 120, 123, 126, 127, 124, 127, 126 (list; graph; listen)
OFFSET

0,2

COMMENT

Integers n>=0 such that a(n) = 3*n is A003714 Fibbinary numbers.

EXAMPLE

3*x + 6*x^2 + 7*x^3 + 12*x^4 + 15*x^5 + 14*x^6 + 15*x^7 + 24*x^8 + 27*x^9 + ...

PROGRAM

(PARI) {a(n) = bitor(n, n<<1)}

(PARI) {a(n) = if( n==0 | n==-1, n, 2 * a(n \ 2) + (n%2) * (2 + (-1)^(n \ 2)))}

CROSSREFS

A163618(n) = -a(-n).

Sequence in context: A077459 A048717 A022434 this_sequence A047705 A069891 A088146

Adjacent sequences: A163614 A163615 A163616 this_sequence A163618 A163619 A163620

KEYWORD

nonn

AUTHOR

Michael Somos, Aug 01 2009

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 8 08:31 EST 2009. Contains 170430 sequences.


AT&T Labs Research