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.

A084090 Numbers k such that k is divisible by 3 or the exponent of the highest power of 2 dividing k is odd. Complement of A084087.

Original entry on oeis.org

0, 2, 3, 6, 8, 9, 10, 12, 14, 15, 18, 21, 22, 24, 26, 27, 30, 32, 33, 34, 36, 38, 39, 40, 42, 45, 46, 48, 50, 51, 54, 56, 57, 58, 60, 62, 63, 66, 69, 70, 72, 74, 75, 78, 81, 82, 84, 86, 87, 88, 90, 93, 94, 96, 98, 99, 102, 104, 105, 106, 108, 110, 111
Offset: 1

Views

Author

Ralf Stephan, May 11 2003

Keywords

Comments

Numbers that are either in A008585 or A036554.
It seems that lim_{n->inf} a(n)/n = 9/5. [This is true. The asymptotic density of this sequence is 5/9. - Amiram Eldar, Jan 16 2022]
Positions of 0 in the expansion of Sum_{k>=0} x^2^k/(1+x^2^k+x^2^(k+1)) (A084091).

Crossrefs

Union of A008585 and A036554.

Programs

  • Mathematica
    Select[Range[0,120],Divisible[#,3]||OddQ[IntegerExponent[#,2]]&] (* Harvey P. Dale, Jul 26 2017 *)
  • PARI
    for(n=0,300,if(valuation(n,2)%2||n%3==0,print1(n",")))