proposed
approved
proposed
approved
editing
proposed
Primes p such that the period of the decimal expansion of 1/p has is a square period length.
The period length of 1/17 = 0.05882352941176470588... is 16 = 4^2, hence 17 is in the sequence.
The period length of 1/163 = 81 = 9^2.
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
The period length of 1/17 = 0.05882352941176470588... is 16 = 4^2, hence 17 is in the sequence. The period length of 1/163 = 81 = 9^2.
The period length of 1/163 = 81 = 9^2.
Primes p such that 1/p has a square "period length".
Select[Prime[Range[4000]], IntegerQ @ Sqrt[Length[RealDigits[1/#][[1, 1]]]] &] (* Amiram Eldar, May 21 2022 *)
easy,nonn,base,changed
Amiram Eldar, <a href="/A072858/b072858.txt">Table of n, a(n) for n = 1..10000</a>
approved
editing