OFFSET
1,1
LINKS
Enrique Pérez Herrero, Table of n, a(n) for n = 1..1000
EXAMPLE
a(3) = 5 because 6 (the number above) is squarefree.
a(13) = 47 because 46 (the number below) is squarefree.
53 is not in the sequence because both 52 and 54 have squares among their divisors.
PROG
(Sage) def is_A075430(n): return is_prime(n) and (is_squarefree(n-1) or is_squarefree(n+1)) # D. S. McNeil, Jan 16 2011
(PARI) isok(p) = isprime(p) && (issquarefree(p-1) || issquarefree(p+1)); \\ Michel Marcus, Feb 20 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Sep 15 2002
STATUS
approved