OFFSET
1,1
COMMENTS
Equivalently, bases b for which there exists an integer y such that y^4 in base b looks like [c,d,c,d] for some base-b digits c, d.
REFERENCES
Andrew Bridy, Robert J. Lemke Oliver, Arlo Shallit, and Jeffrey Shallit, The Generalized Nagell-Ljunggren Problem: Powers with Repetitive Representations, Experimental Math, 28 (2019), 428-439.
LINKS
Andrew Bridy, Robert J. Lemke Oliver, Arlo Shallit, and Jeffrey Shallit, The Generalized Nagell-Ljunggren Problem: Powers with Repetitive Representations, preprint arXiv:1707.03894 [math.NT], July 14 2017.
EXAMPLE
For example, for b = 239, we have y = 78 with 239^2+1 = 2*13^4 dividing 78^4 = 2^4*3^4*13^4. Equivalently, the base-b representation of y^4 is (2,170,2,170).
MATHEMATICA
Select[Range[300000], Times @@ Table[ f[[1]]^(3 - Mod[f[[2]] - 1, 4]), {f, FactorInteger[1 + #^2]}] <= #^2 + 1 &] (* Giovanni Resta, Jul 26 2017 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Jeffrey Shallit, Jul 25 2017
EXTENSIONS
a(9)-a(17) from Giovanni Resta, Jul 26 2017
Better definition added, base keyword removed by Max Alekseyev, Oct 28 2025
STATUS
approved
