cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-9 of 9 results.

A002379 a(n) = floor(3^n / 2^n).

Original entry on oeis.org

1, 1, 2, 3, 5, 7, 11, 17, 25, 38, 57, 86, 129, 194, 291, 437, 656, 985, 1477, 2216, 3325, 4987, 7481, 11222, 16834, 25251, 37876, 56815, 85222, 127834, 191751, 287626, 431439, 647159, 970739, 1456109, 2184164, 3276246, 4914369, 7371554, 11057332
Offset: 0

Views

Author

Keywords

Comments

It is an important unsolved problem related to Waring's problem to show that a(n) = floor((3^n-1)/(2^n-1)) holds for all n > 1. This has been checked for 10000 terms and is true for all sufficiently large n, by a theorem of Mahler. [Lichiardopol]
a(n) = floor((3^n-1)/(2^n-1)) holds true at least for 2 <= n <= 305000. - Hieronymus Fischer, Dec 31 2008
a(n) is also the curve length (rounded down) of the Sierpiński arrowhead curve after n iterations, let a(0) = 1. - Kival Ngaokrajang, May 21 2014
a(n) is composite infinitely often (Forman and Shapiro). More exactly, a(n) is divisible by at least one of 2, 5, 7 or 11 infinitely often (Dubickas and Novikas). - Tomohiro Yamada, Apr 15 2017

References

  • R. K. Guy, Unsolved Problems in Number Theory, E19.
  • D. H. Lehmer, Guide to Tables in the Theory of Numbers. Bulletin No. 105, National Research Council, Washington, DC, 1941, p. 82.
  • S. S. Pillai, On Waring's problem, J. Indian Math. Soc., 2 (1936), 16-44.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Cf. A046037, A070758, A070759, A067904 (Composites and Primes).
Cf. A064628 (an analog for 4/3).

Programs

Formula

a(n) = b(n) - (-2/3)^n where b(n) is defined by the recursion b(0):=2, b(1):=5/6, b(n+1):=(5/6)*b(n) + b(n-1). - Hieronymus Fischer, Dec 31 2008
a(n) = (1/2)*(b(n) + sqrt(b(n)^2 - (-4)^n)) (with b(n) as defined above). - Hieronymus Fischer, Dec 31 2008
3^n = a(n)*2^n + A002380(n). - R. J. Mathar, Oct 26 2012
a(n) = -(1/2) + (3/2)^n + arctan(cot((3/2)^n Pi)) / Pi. - Fred Daniel Kline, Apr 14 2018
a(n+1) = round( -(1/2) + (3^n-1)/(2^n-1) ). - Fred Daniel Kline, Apr 14 2018

Extensions

More terms from Robert G. Wilson v, May 11 2004

A153662 Numbers k such that the fractional part of (3/2)^k is less than 1/k.

Original entry on oeis.org

1, 2, 4, 7, 3328, 3329, 4097, 12429, 12430, 12431, 18587, 44257, 112896, 129638, 4264691, 144941960, 144941961, 144941962
Offset: 1

Views

Author

Hieronymus Fischer, Dec 31 2008

Keywords

Comments

Numbers k such that fract((3/2)^k) < 1/k, where fract(x) = x-floor(x).
The next term is greater than 3*10^8.

Examples

			a(4) = 7 since fract((3/2)^7) = 0.0859375 < 1/7, but fract((3/2)^5)  = 0.59375 >= 1/5 and fract((3/2)^6) = 0.390625 >= 1/6.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[1000], FractionalPart[(3/2)^#] < (1/#) &] (* G. C. Greubel, Aug 24 2016 *)

Extensions

a(15)-a(18) from Robert Gerbicz, Nov 21 2010

A153663 Minimal exponents m such that the fractional part of (3/2)^m reaches a maximum (when starting with m=1).

Original entry on oeis.org

1, 5, 8, 10, 12, 14, 46, 58, 105, 157, 163, 455, 1060, 1256, 2677, 8093, 28277, 33327, 49304, 158643, 164000, 835999, 2242294, 25380333, 92600006
Offset: 1

Views

Author

Hieronymus Fischer, Dec 31 2008

Keywords

Comments

Recursive definition: a(1)=1, a(n) = least number m such that the fractional part of (3/2)^m is greater than the
fractional part of (3/2)^k for all k, 1<=k
The fractional part of k=835999 is .999999 5 which is greater than (k-1)/k. The fractional part of k=2242294 is .999999 8 which is greater than (k-1)/k. The fractional part of k=25380333 is .999999 98 which is greater than (k-1)/k. The fractional part of k=92600006 is .999999 998 which is greater than (k-1)/k. So, all additional numbers in this sequence must be in A153664 and >3*10^8. - Robert Price, May 09 2012

Examples

			a(2)=5, since fract((3/2)^5)=0.59375, but fract((3/2)^k)=0.5, 0.25, 0.375, 0.0625 for 1<=k<=4; thus
fract((3/2)^5)>fract((3/2)^k) for 1<=k<5.
		

Programs

  • Mathematica
    a[1] = 1; a[n_] := a[n] = For[m = a[n-1]+1, True, m++, f = FractionalPart[(3/2)^m]; If[AllTrue[Range[m-1], f > FractionalPart[(3/2)^#]&], Print[n, " ", m]; Return[m]]];
    Array[a, 21] (* Jean-François Alcover, Feb 25 2019 *)

Formula

Recursion: a(1):=1, a(k):=min{ m>1 | fract((3/2)^m) > fract((3/2)^a(k-1))}, where fract(x) = x-floor(x).

Extensions

a(22)-a(25) from Robert Price, May 09 2012

A153664 Numbers k such that the fractional part of (3/2)^k is greater than 1-(1/k).

Original entry on oeis.org

1, 14, 163, 1256, 2677, 8093, 49304, 49305, 158643, 164000, 835999, 2242294, 2242295, 2242296, 3965133, 25380333, 92600006, 92600007, 92600008, 92600009, 92600010, 92600011, 99267816, 125040717, 125040718
Offset: 1

Author

Hieronymus Fischer, Dec 31 2008

Keywords

Comments

Numbers k such that fract((3/2)^k) > 1-(1/k), where fract(x) = x-floor(x).
The next term is greater than 3*10^8.

Examples

			a(2) = 14 since fract((3/2)^14) = 0.92926... > 0.92857... = 1 - (1/14), but fract((3/2)^k) <= 1 - (1/k) for 1<k<14.
		

Programs

  • Mathematica
    Select[Range[1000], FractionalPart[(3/2)^#] >= 1 - (1/#) &] (* G. C. Greubel, Aug 24 2016 *)

Extensions

a(11)-a(25) from Robert Gerbicz, Nov 21 2010

A153666 Greatest number m such that the fractional part of (3/2)^A153662(n) <= 1/m.

Original entry on oeis.org

2, 4, 16, 11, 16799, 11199, 5536, 92694, 61796, 41197, 23242, 55710, 137921, 257825, 5271294, 706641581, 471094387, 314062925
Offset: 1

Author

Hieronymus Fischer, Dec 31 2008

Keywords

Examples

			a(3)=16 since 1/17<fract((3/2)^A153662(3))=fract((3/2)^4)=0.0625=1/16.
		

Programs

  • Mathematica
    A153662 = {1, 2, 4, 7, 3328, 3329, 4097, 12429, 12430, 12431, 18587, 44257, 112896, 129638, 4264691, 144941960, 144941961, 144941962};
    Table[fp = FractionalPart[(3/2)^A153662[[n]]]; m = Floor[1/fp];
    While[fp <= 1/m, m++];  m - 1, {n, 1, Length[A153662]}] (* Robert Price, Mar 26 2019 *)

Formula

a(n):=floor(1/fract((3/2)^A153662(n))), where fract(x) = x-floor(x).

Extensions

a(15)-a(18) from Robert Price, May 09 2012

A153667 Greatest number m such that the fractional part of (3/2)^A153663(n) >= 1-(1/m).

Original entry on oeis.org

2, 2, 2, 2, 3, 14, 31, 33, 69, 137, 222, 318, 901, 1772, 2747, 12347, 16540, 18198, 135794, 222246, 570361, 2134829, 6901329, 75503109, 814558605
Offset: 1

Author

Hieronymus Fischer, Dec 31 2008

Keywords

Examples

			a(5)=3, since 1-(1/4)=0.75>fract((3/2)^A153663(5))=fract((3/2)^12)=0.746...>=1-(1/3).
		

Programs

  • Mathematica
    A153663 = {1, 5, 8, 10, 12, 14, 46, 58, 105, 157, 163, 455, 1060, 1256, 2677, 8093, 28277, 33327, 49304, 158643, 164000, 835999, 2242294, 25380333, 92600006};
    Table[fp = FractionalPart[(3/2)^A153663[[n]]]; m = Floor[1/(1-fp)];
    While[fp >= 1 - (1/m), m++]; m - 1, {n, 1, Length[A153663]}] (* Robert Price, Mar 26 2019 *)

Formula

a(n) = floor(1/(1-fract((3/2)^A153663(n)))), where fract(x) = x-floor(x).

Extensions

a(22)-a(25) from Robert Price, May 10 2012

A153668 Greatest number m such that the fractional part of (3/2)^A153664(n) >= 1-(1/m).

Original entry on oeis.org

2, 14, 222, 1772, 2747, 12347, 135794, 90529, 222246, 570361, 2134829, 6901329, 4600886, 3067257, 5380892, 75503109, 814558605, 543039070, 362026046, 241350697, 160900465, 107266976, 101721580, 190708740, 127139160
Offset: 1

Author

Hieronymus Fischer, Dec 31 2008

Keywords

Examples

			a(2)=14, since 1-(1/15)=0.933...>fract((3/2)^A153664(2))=fract((3/2)^14)=0.929...>=1-(1/14).
		

Programs

  • Mathematica
    A153664 = {1, 14, 163, 1256, 2677, 8093, 49304, 49305, 158643, 164000, 835999, 2242294, 2242295, 2242296, 3965133, 25380333, 92600006, 92600007, 92600008, 92600009, 92600010, 92600011, 9267816, 125040717, 125040718};
    Table[fp = FractionalPart[(3/2)^A153664[[n]]]; m = Floor[1/(1 - fp)];
    While[fp >= 1 - (1/m), m++]; m - 1, {n, 1, Length[A153664]}] (* Robert Price, Mar 26 2019 *)

Formula

a(n) = floor(1/(1-fract((3/2)^A153664(n)))), where fract(x) = x-floor(x).

Extensions

a(11)-a(25) from Robert Price, May 10 2012

A153673 Greatest number m such that the fractional part of (101/100)^A153669(n) <= 1/m.

Original entry on oeis.org

100, 147, 703, 932, 1172, 3389, 7089, 8767, 11155, 17457, 20810, 25355, 1129226, 1741049, 1960780, 2179637, 2859688, 11014240, 75249086, 132665447, 499298451
Offset: 1

Author

Hieronymus Fischer, Jan 06 2009

Keywords

Examples

			a(2)=147 since 1/148<fract((101/100)^A153669(2))=fract((101/100)^70)=0.00676...<=1/147.
		

Programs

  • Mathematica
    A153669 = {1, 70, 209, 378, 1653, 2697, 4806, 13744, 66919, 67873,
       75666, 81125, 173389, 529938, 1572706, 4751419, 7159431, 7840546,
       15896994, 71074288, 119325567};
    Table[fp = FractionalPart[(101/100)^A153669[[n]]]; m = Floor[1/fp];
    While[fp <= 1/m, m++]; m - 1, {n, 1, Length[A153669]}] (* Robert Price, Mar 25 2019 *)

Formula

a(n) = floor(1/fract((101/100)^A153669(n))), where fract(x) = x-floor(x).

Extensions

a(15)-a(21) from Robert Price, Mar 25 2019

A154134 Greatest number m such that the fractional part of (4/3)^A154130(n) <= 1/m.

Original entry on oeis.org

3, 6, 10, 30, 124, 238, 405, 6430, 22869, 32657, 224544, 2396968, 15229280, 28274047, 53458049, 134537968
Offset: 1

Author

Hieronymus Fischer, Jan 11 2009

Keywords

Examples

			a(3)=10 since 1/11<fract((4/3)^A154130(3))=fract((4/3)^13)=0.09238...<=1/10.
		

Formula

a(n):=floor(1/fract((4/3)^A154130(n))), where fract(x) = x-floor(x).

Extensions

a(12)-a(16) from Robert Price, May 10 2012
Showing 1-9 of 9 results.