OFFSET
0,1
COMMENTS
Related to Waring's problem.
a(n) is conjectured to be >= 0 for all n >= 3. If this were proved it would settle Waring's problem (see A002804). It is known that a(n) >= 0 for 3 <= n <= 471600000.
If we rewrite the formula as (2^n-1)*ceiling((3/2)^n) - 3^n - 1, we see more clearly a comparison between 3^n and the product of an undervaluation of 2^n and an overvaluation of (3/2)^n. If the undervaluation is proportionately smaller than the ceiling overvaluation, a(n) is nonnegative. 2^n grows faster than (3/2)^n, so for a negative value to occur the target difference between (3/2)^n and ceiling((3/2)^n) gets smaller as n gets larger, and the sum of these target differences (for n > 0) is finite. - Peter Munn, Dec 08 2022
REFERENCES
G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers. 3rd ed., Oxford Univ. Press, 1954, p. 337.
R. C. Vaughan and T. D. Wooley, Waring's problem: a survey, pp. 285-324 of Surveys in Number Theory (Urbana, May 21, 2000), ed. M. A. Bennett et al., Peters, 2003.
LINKS
M. Waldschmidt, Open Diophantine problems
MATHEMATICA
a[n_] := Floor[(3/2)^n]; b[n_] := 3^n - 2^n*a[n]; Table[2^n - a[n] - b[n] - 2, {n, 0, 39}] (* Jean-François Alcover, Apr 05 2011 *)
PROG
(Python)
def A174420(n): return ((m:=3**n)&-(k:=1<<n))+k-m-(m>>n)-2 # Chai Wah Wu, Jun 25 2024
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Nov 27 2010
STATUS
approved