login
Numbers n such that m = floor(n/6) is coprime to n and, if nonzero, m is also a term of the sequence.
8

%I #7 Feb 06 2015 05:54:20

%S 1,6,7,8,9,10,11,37,41,43,44,45,46,47,49,51,53,55,56,58,59,61,63,67,

%T 68,69,70,71,223,224,225,226,227,247,248,249,250,251,259,260,261,262,

%U 263,265,267,269,271,272,274,277,279,281,283,284,285,286,287,295

%N Numbers n such that m = floor(n/6) is coprime to n and, if nonzero, m is also a term of the sequence.

%C See the comments in A250040 which all apply, except for the setting of the base, b=6. In particular, they define the property RTC(b).

%H Stanislav Sykora, <a href="/A250048/b250048.txt">Table of n, a(n) for n = 1..10000</a>

%H Stanislav Sykora, <a href="https://oeis.org/wiki/File:GeneticThreads.txt">PARI/GP scripts for genetic threads</a>, with code and comments.

%H Wikipedia, <a href="http://en.wikipedia.org/wiki/Coprime_integers">Coprime integers</a>

%o (PARI) \\ See A250040 for b=6

%o (PARI) is_rtc(n, b=6) = {while (((m=gcd(n\b, n)) == 1), if (m == 0, return (1)); if ((n=n\b) == 0, return (1));); return (0);} \\ _Michel Marcus_, Jan 31 2015

%Y Cf. A250040 (b=10), A250047.

%Y Other lists of right-truncatable numbers with the property RTC(b): A250036 (b=4), A250038 (b=16), A250042 (b=9), A250044 (b=8), A250046 (b=7), A250050 (b=5).

%K nonn,base

%O 1,2

%A _Stanislav Sykora_, Jan 31 2015