OFFSET
1,1
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
EXAMPLE
Table of n, a(n) for select n:
n a(n)
----------------------------------
1 12 = s(1) = 2^2 * 3
2 18 = s(2) = 2 * 3^2
3 20 = s(3) = 2^2 * 5
4 28 = s(4) = 2^2 * 7
5 36 = t(1) = 2^2 * 3^2
6 44 = s(5) = 2^2 * 11
7 45 = s(6) = 3^2 * 5
10 60 = s(9) = 2^2 * 3 * 5
20 100 = t(2) = 2^2 * 5^2
193 900 = t(8) = 2^2 * 3^2 * 5^2
.
4 is not in this sequence since 4 is a prime power.
24 = 2^3 * 3 is not in this sequence since the largest prime exponent exceeds 2.
MATHEMATICA
Select[Range[300], And[Length[#] > 1, 1 < Max[#] <= 2] &[FactorInteger[#][[All, -1]] ] &]
PROG
(PARI) isok(k) = {my(f = factor(k)); omega(f) > 1 && vecmax(f[ , 2]) == 2; } \\ Amiram Eldar, Nov 29 2025
(Python)
from math import isqrt
from sympy import primepi, mobius, integer_nthroot
from oeis_sequences.OEISsequences import bisection
def A391023(n):
def f(x): return n+x+primepi(isqrt(x))+sum(mobius(k)*(x//k**j)*(-1 if j&1 else 1) for j in range(2, 4) for k in range(1, integer_nthroot(x, j)[0]+1))
return bisection(f, n, n) # Chai Wah Wu, Jan 07 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael De Vlieger, Nov 27 2025
STATUS
approved
