Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A063004
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A063004 Difference between 2^n and the next larger power of 3. +0
3
0, 1, 5, 1, 11, 49, 17, 115, 473, 217, 1163, 139, 2465, 11491, 3299, 26281, 111611, 46075, 269297, 7153, 545747, 2685817, 588665, 5960299, 26269505, 9492289, 62031299, 253202761, 118985033, 625390555, 88519643, 1339300753 (list; graph; listen)
OFFSET

0,3

FORMULA

a(n) = 3^(ceil (log_3 (2^n))) - 2^n

PROGRAM

(PARI) for(n=1, 50, print1(3^ceil(log(2^n)/log(3))-2^n", "))

CROSSREFS

Cf. A056577, A063003, A063005.

Sequence in context: A113261 A132000 A132001 this_sequence A104572 A125232 A116923

Adjacent sequences: A063001 A063002 A063003 this_sequence A063005 A063006 A063007

KEYWORD

easy,nonn

AUTHOR

Jens Voss (jens.voss(AT)poet.de), Jul 02 2001

EXTENSIONS

More terms from Ralf Stephan (ralf(AT)ark.in-berlin.de), Mar 21 2003

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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research