A250047 Numbers n such that m = floor(n/7) is not coprime to n and, if nonzero, m is also a term of the sequence.
2, 3, 4, 5, 6, 14, 16, 18, 20, 21, 24, 27, 28, 30, 32, 34, 35, 40, 42, 44, 45, 46, 48, 98, 100, 102, 104, 112, 114, 116, 118, 126, 128, 129, 130, 132, 140, 142, 144, 145, 146, 147, 150, 153, 168, 170, 171, 172, 174, 189, 192, 195, 196, 198, 200, 202, 210
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 the link
-
PARI
is_rtnc(n, b=7) = {while (((m=gcd(n\b, n)) != 1), if (m == 0, return (1)); n = n\b; ); return (0); } \\ Michel Marcus, Jan 22 2015
Comments