OFFSET
1,2
COMMENTS
See the comments in A250040 which all apply, except for the setting of the base, b=5. 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 A250040 for b=5
(PARI) is_rtc(n, b=5) = {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
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Stanislav Sykora, Jan 31 2015
STATUS
approved