OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1520 (terms below 3*10^19)
Eric Weisstein's World of Mathematics, Twin Primes.
Wikipedia, Powerful number: Generalization.
EXAMPLE
2592 = 2^5 * 3^4 is a term since it is 4-full and 2591 and 2593 are twin primes.
MATHEMATICA
Select[6*Range[2*10^5], PrimeQ[# - 1] && PrimeQ[# + 1] && Min[FactorInteger[#][[;; , 2]]] > 3 &]
PROG
(PARI) is(n) = isprime(n-1) && isprime(n+1) && vecmin(factor(n)[, 2]) > 3;
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Feb 23 2023
STATUS
approved