OFFSET
1,1
COMMENTS
Complement of A003592.
LINKS
Eric Weisstein's World of Mathematics, Repeating Decimal
EXAMPLE
1/3=0.3333..., 1/6=0.16666..., 1/7=0.142857142857..., ...
MAPLE
isA085837 := proc(n)
return (numtheory[factorset](n) minus {2, 5} <> {} );
end proc:
A085837 := proc(n)
option remember;
if n = 1 then
3;
else
for a from procname(n-1)+1 do
if isA085837(a) then
return a;
end if;
end do:
end if;
end proc: # R. J. Mathar, Jul 16 2012
MATHEMATICA
Select[ Range[84], MatchQ[ RealDigits[1/#], {{___, {__}}, 0|-1}] &] (* From Jean-François Alcover, Nov 07 2011 *)
Select[Range[100], Depth[RealDigits[1/#]]>3&] (* Harvey P. Dale, May 28 2015 *)
CROSSREFS
KEYWORD
nonn,easy,nice,base
AUTHOR
Eric W. Weisstein, Jul 04 2003
EXTENSIONS
Definition corrected by Robert Israel, Jul 09 2014
STATUS
approved