OFFSET
1,3
PROG
(Python)
from sympy.core.numbers import igcdex
from sympy import prime
def A345419(n): return igcdex(3, prime(n))[0] # Chai Wah Wu, Jul 01 2021
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Jun 19 2021
STATUS
approved