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.

This page as a plain text file.
%I A111652 #9 Jun 06 2025 14:47:31
%S A111652 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,
%T A111652 21,21,21,24,24,24,24,24,24,24,24,27,27,27,27,27,27,27,27,27,30,30,30,
%U A111652 30,30,30,30,30,30,30,33,33,33,33,33,33,33,33,33,33,33,36,36,36,36,36
%N A111652 3n appears n times.
%F A111652 a(n) = 3*A002024(n) = A111650(n)*3/2. - _Chai Wah Wu_, Jun 06 2025
%t A111652 Flatten[Table[Table[3n,{n}],{n,15}]] (* _Harvey P. Dale_, Jul 23 2013 *)
%o A111652 (Python)
%o A111652 from math import isqrt
%o A111652 def A111652(n): return (m:=isqrt(n<<3)+1&-2)+(m>>1) # _Chai Wah Wu_, Jun 06 2025
%Y A111652 Cf. A000194, A008585, A111650, A111651, A002024.
%K A111652 easy,nonn
%O A111652 1,1
%A A111652 _Jonathan Vos Post_, Aug 12 2005