login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A250038
Numbers n such that m = floor(n/16) is coprime to n and, if nonzero, m is also a term of the sequence.
9
1, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 257, 259, 261, 263, 265, 267, 269, 271, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 289, 293, 295, 299, 301, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314
OFFSET
1,2
COMMENTS
See the comments in A250040 which all apply, except for the setting of the base, b=16. In particular, they define the property RTC(b).
This particular list is an infinite subset of A248501.
LINKS
Stanislav Sykora, PARI/GP scripts for genetic threads, with code and comments.
Wikipedia, Coprime integers
PROG
(PARI) See the link.
(PARI) is_rtc(n, b=16) = {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
CROSSREFS
Other lists of right-truncatable numbers with the property RTC(b): A250036 (b=4), A250040 (b=10), A250042 (b=9), A250044 (b=8), A250046 (b=7), A250048 (b=6), A250050 (b=5).
Sequence in context: A004457 A248501 A115420 * A296754 A297284 A270043
KEYWORD
nonn,base
AUTHOR
Stanislav Sykora, Dec 07 2014
STATUS
approved