For mean: given σ or some estimate of it.
n= (Zc σ / E)2:round up Population size N is irrelevant!
Exs.
MEAN If want 95% CL that E within 3 of μ. σ=15 If want 99% CL that E within .25 of μ. σ=2.125