A101272 a(n) = n, n <= 6; a(n) = 6, n > 6.
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, 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, 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
Offset: 1
References
- A. Beiser, Concepts of Modern Physics, 2nd Ed., McGraw-Hill, 1973.
- R. M. Tennent (Editor), Science Data Book, Oliver & Boyd, 1971.
Links
- Dominika Závacká, Cristina Dalfó, and Miquel Angel Fiol, Integer sequences from k-iterated line digraphs, CEUR: Proc. 24th Conf. Info. Tech. - Appl. and Theory (ITAT 2024) Vol 3792, 156-161. See p. 161, Table 2.
- Index entries for linear recurrences with constant coefficients, signature (1).
Crossrefs
Cf. A040000.
Programs
-
Mathematica
Table[Min[n,6],{n,120}] (* Harvey P. Dale, Mar 09 2014 *)
-
PARI
a(n)=min(6,n) /* Michael Somos, Aug 31 2006, edited by M. F. Hasler, Apr 16 2014 */
Formula
a(n) = n, n <= 6; a(n) = 6, n > 6.
Euler transform of length 6 sequence [ 2, 0, 0, 0, 0, -1]. - Michael Somos, Aug 31 2006
G.f.: (1-x^6)/(1-x)^2. - Michael Somos, Aug 31 2006
a(n) = min(n,6). - Wesley Ivan Hurt, Apr 16 2014
G.f.: x*(1+x+x^2+x^3+x^4+x^5)/(1-x). - Elmo R. Oliveira, Jun 20 2024
Comments