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.

A101836 a(n) = 2^n - A143658(n).

Original entry on oeis.org

0, 0, 1, 2, 5, 12, 25, 50, 99, 198, 400, 803, 1605, 3210, 6422, 12848, 25692, 51384, 102784, 205563, 411115, 822234, 1644470, 3288958, 6577915, 13155768, 26311537, 52623102, 105246259, 210492628, 420985102, 841970065, 1683940202, 3367880511, 6735761133, 13471522233
Offset: 0

Views

Author

Robert G. Wilson v, Aug 31 2008

Keywords

Comments

The number of integers not exceeding 2^n that are not squarefree.

Crossrefs

Programs

  • Mathematica
    c = 0; k = 1; lst = {}; Do[ While[k <= 2^n, If[ !SquareFreeQ@ k, c++ ]; k++ ]; AppendTo[lst, c], {n, 0, 26}]; lst

Extensions

a(0) inserted and more terms added by Amiram Eldar, Feb 09 2021