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.

A065622 Numerator of 1 - (3/4)^n - frac((3/2)^n), where frac(x) = x - floor(x).

This page as a plain text file.
%I A065622 #22 Feb 16 2025 08:32:45
%S A065622 0,-1,3,13,159,173,1767,12789,17759,126237,292183,1930245,3724303,
%T A065622 23940141,14206087,99585429,640559295,12562430525,7042526903,
%U A065622 43417422885,813747135599,494896655693,3000760993767,18098709141429,249612172740383
%N A065622 Numerator of 1 - (3/4)^n - frac((3/2)^n), where frac(x) = x - floor(x).
%C A065622 The presumption that the fraction is positive for n > 1 underlies the presumed solution to Waring's problem.
%H A065622 Harry J. Smith, <a href="/A065622/b065622.txt">Table of n, a(n) for n = 0..200</a>
%H A065622 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/WaringsProblem.html">Waring's Problem</a>
%F A065622 a(n) = 4^n*(1 + floor((3/2)^n)) - 3^n - 6^n = A005061(n) - A002380(n)*A000079(n) = A000302(n)*(1 + A002379(n)) - A000244(n) - A000400(n).
%e A065622 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.
%t A065622 Table[1 - (3/4)^n - FractionalPart[(3/2)^n], {n, 0, 24}] // Numerator (* _Jean-François Alcover_, Apr 26 2016 *)
%o A065622 (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
%Y A065622 Denominator is A000302. Cf. A002804.
%K A065622 frac,sign
%O A065622 0,3
%A A065622 _Henry Bottomley_, Dec 03 2001