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
Sum_{n>=1} 1/a(n) = Pi/(3*sqrt(3)) = A073010.
EXAMPLE
63 = (3*0 + 2)^6 - 1 is not a term since 63 also equals (3*1 + 1)^3 - 1.
511 is a term since 511 = (3*0 + 2)^9 - 1 = (3*2 + 2)^3 - 1.
MATHEMATICA
seq[lim_] := Complement[Union[Table[m^k - 1, {k, 2, Log2[lim + 1]}, {m, 2, Surd[lim + 1, k], 3}] // Flatten], Union[Table[m^k - 1, {k, 2, Log2[lim + 1]}, {m, 4, Surd[lim + 1, k], 3}] // Flatten]]; seq[13000]
PROG
(PARI) list1(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); }
list2(lim) = {my(s = List()); for(k = 2, logint(lim+1, 2), forstep(m = 2, sqrtnint(lim+1, k), 3, listput(s, m^k - 1))); Set(s); }
list(lim) = setminus(list2(lim), list1(lim));
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Oct 27 2025
STATUS
approved
