Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A064024
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A064024 a(n) = value of k such that absolute difference of 2^n and 3^k is minimized. +0
2
0, 1, 1, 1, 7, 5, 17, 47, 13, 217, 295, 139, 1909, 1631, 3299, 13085, 6487, 46075, 84997, 7153, 517135, 502829, 588665, 3605639, 2428309, 9492289, 24062143, 5077565, 118985033, 149450423, 88519643, 985222181, 808182895, 1870418611 (list; graph; listen)
OFFSET

0,5

EXAMPLE

a(5) = 5 because |2^5 - 3^3| = 5.

MATHEMATICA

Do[ k = 0; While[ Abs[ 2^n - 3^k ] > Abs[ 2^n - 3^(k + 1) ], k++ ]; Print[ Abs[ 2^n - 3^k ]], {n, 0, 40} ]

CROSSREFS

Cf. A056850.

Sequence in context: A046557 A125719 A070975 this_sequence A078747 A120404 A059990

Adjacent sequences: A064021 A064022 A064023 this_sequence A064025 A064026 A064027

KEYWORD

nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 18 2001

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