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.
%I A101272 #28 Nov 01 2024 12:06:00 %S A101272 1,2,3,4,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6, %T A101272 6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6, %U A101272 6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6 %N A101272 a(n) = n, n <= 6; a(n) = 6, n > 6. %C A101272 Sequence of electron arrangements in the 2p, 3p, 4p and 5p atomic subshells. %C A101272 Decimal expansion of 37037/30000. - _Elmo R. Oliveira_, May 07 2024 %D A101272 A. Beiser, Concepts of Modern Physics, 2nd Ed., McGraw-Hill, 1973. %D A101272 R. M. Tennent (Editor), Science Data Book, Oliver & Boyd, 1971. %H A101272 Dominika Závacká, Cristina Dalfó, and Miquel Angel Fiol, <a href="https://ceur-ws.org/Vol-3792/paper19.pdf">Integer sequences from k-iterated line digraphs</a>, CEUR: Proc. 24th Conf. Info. Tech. - Appl. and Theory (ITAT 2024) Vol 3792, 156-161. See p. 161, Table 2. %H A101272 <a href="/index/Rec#order_01">Index entries for linear recurrences with constant coefficients</a>, signature (1). %F A101272 a(n) = n, n <= 6; a(n) = 6, n > 6. %F A101272 Euler transform of length 6 sequence [ 2, 0, 0, 0, 0, -1]. - _Michael Somos_, Aug 31 2006 %F A101272 G.f.: (1-x^6)/(1-x)^2. - _Michael Somos_, Aug 31 2006 %F A101272 a(n) = min(n,6). - _Wesley Ivan Hurt_, Apr 16 2014 %F A101272 G.f.: x*(1+x+x^2+x^3+x^4+x^5)/(1-x). - _Elmo R. Oliveira_, Jun 20 2024 %t A101272 Table[Min[n,6],{n,120}] (* _Harvey P. Dale_, Mar 09 2014 *) %o A101272 (PARI) a(n)=min(6,n) /* _Michael Somos_, Aug 31 2006, edited by _M. F. Hasler_, Apr 16 2014 */ %Y A101272 Cf. A040000. %K A101272 easy,nonn %O A101272 1,2 %A A101272 _Jeremy Gardiner_, Dec 19 2004