login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A378901
a(n) = 0 if s(n) is nonprime, a(n) = 1 if s(n) is prime, where s = A005117.
0
0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0
OFFSET
1
COMMENTS
Characteristic function of prime squarefree numbers.
First differences of pi(s(n)) = A000720(A005117(n)).
LINKS
FORMULA
a(k) = 1 for k in A071403.
MATHEMATICA
Map[Boole[PrimeQ[#]] &, Select[Range[120], SquareFreeQ] ]
CROSSREFS
KEYWORD
nonn,easy,new
AUTHOR
Michael De Vlieger, Dec 12 2024
STATUS
approved