In this paper, we mainly prove the following conjectures of Z.-W. Sun
\cite{S13}: Let p>2 be a prime. If p=x2+3y2 with x,y∈Z and
x≡1(mod3), then x≡41k=0∑p−1(3k+4)2kfk≡21k=0∑p−1(3k+2)(−4)kfk(modp2), and if
p≡1(mod3), then
k=0∑p−12kfk≡k=0∑p−1(−4)kfk(modp3),
where fn=∑k=0n(kn)3 stands for the nth Franel number.