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.

A111652 3n appears n times.

Original entry on oeis.org

3, 6, 6, 9, 9, 9, 12, 12, 12, 12, 15, 15, 15, 15, 15, 18, 18, 18, 18, 18, 18, 21, 21, 21, 21, 21, 21, 21, 24, 24, 24, 24, 24, 24, 24, 24, 27, 27, 27, 27, 27, 27, 27, 27, 27, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 36, 36, 36, 36, 36
Offset: 1

Views

Author

Jonathan Vos Post, Aug 12 2005

Keywords

Crossrefs

Programs

  • Mathematica
    Flatten[Table[Table[3n,{n}],{n,15}]] (* Harvey P. Dale, Jul 23 2013 *)
  • Python
    from math import isqrt
    def A111652(n): return (m:=isqrt(n<<3)+1&-2)+(m>>1) # Chai Wah Wu, Jun 06 2025

Formula

a(n) = 3*A002024(n) = A111650(n)*3/2. - Chai Wah Wu, Jun 06 2025