cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A250048 Numbers n such that m = floor(n/6) is coprime to n and, if nonzero, m is also a term of the sequence.

Original entry on oeis.org

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

Views

Author

Stanislav Sykora, Jan 31 2015

Keywords

Comments

See the comments in A250040 which all apply, except for the setting of the base, b=6. In particular, they define the property RTC(b).

Crossrefs

Cf. A250040 (b=10), A250047.
Other lists of right-truncatable numbers with the property RTC(b): A250036 (b=4), A250038 (b=16), A250042 (b=9), A250044 (b=8), A250046 (b=7), A250050 (b=5).

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