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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A063003 Difference between 3^n and the next larger power of 2. 3
0, 1, 7, 5, 47, 13, 295, 1909, 1631, 13085, 6487, 84997, 517135, 502829, 3605639, 2428309, 24062143, 5077565, 149450423, 985222181, 808182895, 6719515981, 2978678759, 43295774645, 267326277407, 252223018333, 1856180682775 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Harry J. Smith, Table of n, a(n) for n=0,...,200

FORMULA

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

PROG

(PARI) { default(realprecision, 50); t=1/log(2); for (n=0, 200, write("b063003.txt", n, " ", 2^ceil(t*log(3^n)) - 3^n) ) } [From Harry J. Smith, Aug 15 2009]

CROSSREFS

Cf. A056577, A063004, A063005.

Sequence in context: A163742 A202130 A089244 * A038271 A005692 A080798

Adjacent sequences:  A063000 A063001 A063002 * A063004 A063005 A063006

KEYWORD

easy,nonn

AUTHOR

Jens Voß, Jul 02 2001

EXTENSIONS

More terms from Marc LeBrun, Jul 11 2001

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified March 25 07:44 EDT 2017. Contains 284047 sequences.