A250048 Numbers n such that m = floor(n/6) is coprime to n and, if nonzero, m is also a term of the sequence.
1, 6, 7, 8, 9, 10, 11, 37, 41, 43, 44, 45, 46, 47, 49, 51, 53, 55, 56, 58, 59, 61, 63, 67, 68, 69, 70, 71, 223, 224, 225, 226, 227, 247, 248, 249, 250, 251, 259, 260, 261, 262, 263, 265, 267, 269, 271, 272, 274, 277, 279, 281, 283, 284, 285, 286, 287, 295
Offset: 1
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
Crossrefs
Programs
-
PARI
\\ See A250040 for b=6
-
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
Comments