OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..230
EXAMPLE
(17-1) = 16 is square and 1/17=0.0588235294117647(0588...) with a decimal period length = 16, square, hence 17 is in the sequence
MATHEMATICA
bsQ[n_]:=IntegerQ[Sqrt[n-1]]&&IntegerQ[Sqrt[Length[Flatten[ RealDigits[ 1/n][[1]]]]]]; Select[Prime[Range[2, 17000]], bsQ] (* Harvey P. Dale, May 30 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Nov 09 2002
STATUS
approved