OFFSET
1,1
COMMENTS
The only prime term is 2. A prime power prime(j)^k with k > 1 is a term if and only if k+1 is divisible by the multiplicative order of prime(j) mod prime(j+1). - Robert Israel, May 22 2025
LINKS
EXAMPLE
MAPLE
filter:= proc(n) local F, a, b, t;
F:= ifactors(n)[2];
b:= convert(map(nextprime, F[.., 1]), `*`);
a:= mul((t[1]^(t[2]+1)-1)/(t[1]-1), t=F);
igcd(a, b) <> 1
end proc;
select(filter, [$1..1000]); # Robert Israel, May 21 2025
PROG
CROSSREFS
Positions of zeros in A349167.
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 09 2021
STATUS
approved
