OFFSET
1,1
COMMENTS
Integers of the form m^k + 1 for integers m, k >= 2.
REFERENCES
Steven R. Finch, Mathematical Constants, Cambridge University Press, 2003, Section 2.6, p. 113.
LINKS
Eugène Catalan, Note sur la sommation de quelques séries, Journal de Mathématiques Pures et Appliquées, Serie 1, Volume 7 (1842), pp. 1-12. See p. 8, eq. (24).
Vsevolod F. Lev, Re: The sequence of 'perfect' powers, Number Theory List, May 21, 2002.
FORMULA
Sum_{n>=1} 1/a(n) = Pi^2/3 - 5/2 (Catalan, 1842; Lev, 2002). - Amiram Eldar, Oct 15 2020, Oct 14 2025
EXAMPLE
a(1) = 2^2 + 1; a(2) = 2^3 + 1; a(3) = 3^2 + 1; a(4) = 2^4 + 1.
MATHEMATICA
seq[lim_] := Union[Table[m^k + 1, {k, 2, Log2[lim + 1]}, {m, 2, Surd[lim + 1, k]}] // Flatten]; seq[2000] (* Amiram Eldar, Oct 14 2025 *)
PROG
(Python)
from sympy import mobius, integer_nthroot
from oeis_sequences.OEISsequences import bisection
def A216765(n): return bisection(lambda x:int(n+x+sum(mobius(k)*(integer_nthroot(x-1, k)[0]-1) for k in range(2, (x-1).bit_length()))), n, n) # Chai Wah Wu, Oct 21 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jonathan Vos Post, Sep 15 2012
STATUS
approved
