OFFSET
1,1
COMMENTS
LINKS
Eric Weisstein's World of Mathematics, Cubic Residue
MATHEMATICA
f[p_] := Block[{k = 2}, While[k < p && Mod[k^3, p] != 2, k++ ]; If[k == p, 0, 1]]; c = 1; k = 2; Do[ While[ p = Prime[k]; p < 10^n, If[ f[p] == 1, c++ ]; k++ ]; Print[c], {n, 5}]
CROSSREFS
KEYWORD
more,nonn
AUTHOR
Robert G. Wilson v, Jul 26 2004
EXTENSIONS
a(6)-a(7) from Hiroaki Yamanouchi, Aug 31 2014
a(8)-a(12) from Hiroaki Yamanouchi, Oct 17 2015
STATUS
approved