OFFSET
1,1
COMMENTS
The corresponding y-values are in A230963.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
Chris Busenhart, Lorenz Halbeisen, Norbert Hungerbühler, and Oliver Riesen, On primitive solutions of the Diophantine equation x^2+ y^2= M, Eidgenössische Technische Hochschule (ETH Zürich, Switzerland, 2020).
FORMULA
From Robert Israel, Mar 31 2017: (Start)
a(n) = min(abs(Re((3+8i)^n)), abs(Im((3+8i)^n))).
a(n) = abs(Re(3+8i)^n) if and only if 1/4 < frac(n*arctan(8/3)/Pi) < 3/4.
(End)
EXAMPLE
a(3) = 296 because 296^2 + 549^2 = 389017 = 73^3.
MAPLE
f:=n -> min([abs@Re, abs@Im]((3+8*I)^n)):
map(f, [$1..50]); # Robert Israel, Mar 31 2017
MATHEMATICA
Table[Select[PowersRepresentations[73^n, 2, 2], CoprimeQ@@#&][[1, 1]], {n, 1, 40}] (* Vincenzo Librandi, Mar 02 2014 *)
Table[Min[Abs[Re[(3 + 8I)^n]], Abs[Im[(3 + 8I)^n]]], {n, 30}] (* Indranil Ghosh, Mar 31 2017, after formula by Robert Israel *)
PROG
(Python)
from sympy import I, re, im
print([min(abs(re((3 + 8*I)**n)), abs(im((3 + 8*I)**n))) for n in range(1, 31)]) # Indranil Ghosh, Mar 31 2017, after formula by Robert Israel
CROSSREFS
KEYWORD
nonn
AUTHOR
Colin Barker, Nov 02 2013
STATUS
approved