OFFSET
1
LINKS
MATHEMATICA
Table[If[PrimeQ[n]&&Mod[n, 10]==7, 1, 0], {n, 120}] (* Harvey P. Dale, Aug 11 2019 *)
PROG
(PARI) A185708(n) = ((7==(n%10))&&isprime(n)); \\ Antti Karttunen, Oct 09 2018
CROSSREFS
KEYWORD
base,nonn
AUTHOR
N. J. A. Sloane, Feb 10 2011
STATUS
approved