PrimePowerQ[expr] yields True if expr is a power of a prime number, and yields False otherwise.
PrimeQ
(Built-in Mathematica Symbol) PrimeQ[expr] yields True if expr is a prime number, and yields False otherwise.
RootOfUnityQ[a] yields True if a is a root of unity, and yields False otherwise.
SawtoothWave[x] gives a sawtooth wave that varies from 0 to 1 with unit period.SawtoothWave[{min, max}, x] gives a sawtooth wave that varies from min to max with unit period.
SpheroidalPSPrime[n, m, \[Gamma], z] gives the derivative with respect to z of the angular spheroidal function PS n, m (\[Gamma], z) of the first kind.
SpheroidalQS[n, m, \[Gamma], z] gives the angular spheroidal function QS n, m (\[Gamma], z) of the second kind.
SpheroidalQSPrime[n, m, \[Gamma], z] gives the derivative with respect to z of the angular spheroidal function QS n, m (\[Gamma], z) of the second kind.
SpheroidalS1[n, m, \[Gamma], z] gives the radial spheroidal function S_n^m, (1)(\[Gamma], z) of the first kind.
SquareWave[x] gives a square wave that alternates between +1 and -1 with unit period.SquareWave[{y_1, y_2}, x] gives a square wave that alternates between y_1 and y_2 with ...
StringCount["string", " sub"] gives a count of the number of times " sub" appears as a substring of " string". StringCount["string", patt] gives the number of substrings in " ...