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.

A231960 Powers of 3 together with multiples of 6.

Original entry on oeis.org

1, 3, 6, 9, 12, 18, 24, 27, 30, 36, 42, 48, 54, 60, 66, 72, 78, 81, 84, 90, 96, 102, 108, 114, 120, 126, 132, 138, 144, 150, 156, 162, 168, 174, 180, 186, 192, 198, 204, 210, 216, 222, 228, 234, 240, 243, 246, 252, 258
Offset: 1

Views

Author

Thomas M. Bridge, Nov 15 2013

Keywords

Comments

Union of A000244 and A008588 (without 0).
Also, 1 and 3*(even numbers (A005843) UNION powers of 3 (A008588)).
Also, numbers m such that m divides A057083(m-1), see the Smyth reference.

Crossrefs

Cf. A029744.

Programs

  • Sage
    def is_in_A231960(n):
        return 6.divides(n) or n==3^valuation(n,3)

Extensions

Edited by Ralf Stephan, Feb 28 2014