OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Junesang Choi, Multiple gamma functions and their applications, in: G. Milovanović and M. Rassias (eds.), Analytic Number Theory, Approximation Theory, and Special Functions: In Honor of Hari M. Srivastava, Springer New York, 2014, pp. 93-129. See section 5.1, p. 118.
Junesang Choi and Hari M. Srivastava, Series Involving the Zeta Functions and a Family of Generalized Goldbach-Euler Series, American Mathematical Monthly, Vol. 121, No. 3 (2014), pp. 229-236.
FORMULA
EXAMPLE
63 is a term since (3*1 + 1)^3 - 1 = 63.
MATHEMATICA
seq[lim_] := Union[Table[m^k - 1, {k, 2, Log2[lim + 1]}, {m, 4, Surd[lim + 1, k], 3}] // Flatten]; seq[14000]
PROG
(PARI) list(lim) = {my(s = List()); for(k = 2, logint(lim+1, 2), forstep(m = 4, sqrtnint(lim+1, k), 3, listput(s, m^k - 1))); Set(s); }
(Python)
from sympy import mobius, integer_nthroot
from oeis_sequences.OEISsequences import bisection
def A390156(n):
def f(x): return n+x+sum(mobius(k)*((integer_nthroot(x+1, k)[0]-1)//3) for k in range(2, (x+1).bit_length()+1>>1))
return bisection(f, n, n) # Chai Wah Wu, Oct 31 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Oct 27 2025
STATUS
approved
