OFFSET
1,2
COMMENTS
See the comments in A250040 which all apply, except for the setting of the base, b=8. In particular, they define the property RTC(b).
LINKS
Stanislav Sykora, Table of n, a(n) for n = 1..10000
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=8) = {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
KEYWORD
nonn,base
AUTHOR
Stanislav Sykora, Jan 15 2015
STATUS
approved