A065622 Numerator of 1 - (3/4)^n - frac((3/2)^n), where frac(x) = x - floor(x).
0, -1, 3, 13, 159, 173, 1767, 12789, 17759, 126237, 292183, 1930245, 3724303, 23940141, 14206087, 99585429, 640559295, 12562430525, 7042526903, 43417422885, 813747135599, 494896655693, 3000760993767, 18098709141429, 249612172740383
Offset: 0
Examples
a(3) = 13 since 1 - (3/4)^3 - frac((3/2)^3) = 1 - 27/64 - frac(27/8) = 1 - 27/64 - 3/8 = (64 - 27 - 24)/64 = 13/64.
Links
- Harry J. Smith, Table of n, a(n) for n = 0..200
- Eric Weisstein's World of Mathematics, Waring's Problem
Programs
-
Mathematica
Table[1 - (3/4)^n - FractionalPart[(3/2)^n], {n, 0, 24}] // Numerator (* Jean-François Alcover, Apr 26 2016 *)
-
PARI
{ for (n=0, 200, a=numerator(1 - (3/4)^n - frac((3/2)^n)); write("b065622.txt", n, " ", a) ) } \\ Harry J. Smith, Oct 24 2009
Comments