The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A173931 Primitive numbers k such that m/k is in the Cantor set for some m. 4

%I #5 Mar 30 2012 17:22:55

%S 4,10,13,28,40,82,91,121,146,182,205,244,328,364,386,656,671,730,757,

%T 820,949,1036,1093,1342,1640,2044,2188,2362,2555,2644,2684,2812,2920,

%U 3280,3640,3796,3851,4088,4561,4745,5110,6176,6562,6643,7381,7592,7913

%N Primitive numbers k such that m/k is in the Cantor set for some m.

%C Primitive means no k is a multiple of 3. This is sequence A054591 without the multiples of 3. Sequence A173793 is a subsequence. Sequence A173932 gives the least m such for each k. Sequence A173933 gives the number of m < k/2 such that m/k is in the Cantor set. Irregular triangle A173934 gives a row of m values for each k.

%C The remaining terms <10000 are 9139, 9490, 9841.

%C It is assumed that gcd(m,k) = 1.

%H T. D. Noe, <a href="/A173931/b173931.txt">Table of n, a(n) for n=1..185</a>

%t InCantorQ[m_, n_] := !MemberQ[Union[Flatten[RealDigits[m/n,3][[1]]]], 1]; cantor=Reap[Do[If[Mod[n,3] > 0, s=Select[Range[Ceiling[n/2]], GCD[n,# ]==1 && InCantorQ[ #,n] &]; If[s != {}, Sow[{n, s}]]], {n,10000}]][[2,1]]; First[Transpose[cantor]]

%K nonn

%O 1,1

%A _T. D. Noe_, Mar 03 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 4 12:23 EDT 2024. Contains 373096 sequences. (Running on oeis4.)