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!)
A250036 Numbers n such that m = floor(n/4) is coprime to n and, if nonzero, m is also a term of the sequence. 9

%I #21 Jan 21 2015 13:04:20

%S 1,4,5,6,7,17,19,21,22,23,25,29,30,31,69,70,71,77,78,79,85,86,89,91,

%T 93,94,95,101,102,103,117,118,119,121,125,126,127,277,278,281,283,285,

%U 286,287,309,310,311,313,317,318,319,341,342,343,345,347,357,358

%N Numbers n such that m = floor(n/4) 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=4. In particular, they define the property RTC(b).

%H Stanislav Sykora, <a href="/A250036/b250036.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 the link.

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

%Y Cf. A250037, A250040.

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

%K nonn,base

%O 1,2

%A _Stanislav Sykora_, Dec 07 2014

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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)