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.

A093907 Number of elements in the n-th period of the periodic table as predicted by the Aufbau principle.

This page as a plain text file.
%I A093907 #59 Nov 10 2023 17:45:44
%S A093907 2,8,8,18,18,32,32,50,50,72,72,98,98,128,128,162,162,200,200,242,242,
%T A093907 288,288,338,338,392,392,450,450,512,512,578,578,648,648,722,722,800,
%U A093907 800,882,882,968,968,1058,1058,1152,1152,1250,1250,1352,1352,1458,1458
%N A093907 Number of elements in the n-th period of the periodic table as predicted by the Aufbau principle.
%C A093907 Maximum number of electrons in the n-th shell of an atom. - _Daniel Forgues_, May 09 2011
%D A093907 Restrepo, G. and Pachon, L., Pythagoras and the Periodic Table, Journal of Chemical Education, submitted, 2004.
%H A093907 Harry J. Smith, <a href="/A093907/b093907.txt">Table of n, a(n) for n = 1..20000</a>
%H A093907 Guillermo Restrepo and Leonardo A. Pachon, <a href="https://doi.org/10.1007/s10698-006-9026-6">Mathematical Aspects of the Periodic Law</a>, Foundations of Chemistry volume 9, pages 189-214 (2007); <a href="https://arxiv.org/abs/math/0611410">arXiv:math/0611410 [math.GM]</a>
%H A093907 Wikipedia, <a href="http://en.wikipedia.org/wiki/Aufbau_principle">Aufbau principle</a>
%H A093907 M. Winter, <a href="http://www.webelements.com/webelements/scholar/index.html">WebElements Periodic Table</a>
%F A093907 a(n) = 2*floor((n+2)/2)^2. - Leonardo Pachon (leaupaco(AT)yahoo.es), Jul 31 2004
%F A093907 From _R. J. Mathar_, Oct 04 2009: (Start)
%F A093907 a(n) = 2*A008794(n+2).
%F A093907 G.f.: 2*x*(1 + 3*x - x^3 - 2*x^2 + x^4)/((1 + x)^2*(1 - x)^3). (End)
%F A093907 a(n) = (2*n+3+(-1)^n)^2/8, from _Luce ETIENNE_. - _Bruno Berselli_, Jun 03 2014
%F A093907 E.g.f.: ((4 + 3*x + x^2)*cosh(x) + (1 + 5*x + x^2)*sinh(x))/2. - _Stefano Spezia_, Aug 13 2022
%e A093907 a(1) = 2: hydrogen and helium.
%p A093907 A093907:=n->(2*n+3+(-1)^n)^2/8: seq(A093907(n), n=1..100); # _Wesley Ivan Hurt_, Jan 10 2017
%t A093907 Table[(2 n + 3 + (-1)^n)^2/8, {n, 60}] (* _Bruno Berselli_, Jun 03 2014 *)
%o A093907 (PARI) {for (n=1, 20000, a=2*floor((n+2)/2)^2; write("b093907.txt", n, " ", a); )} \\ _Harry J. Smith_, Jun 17 2009
%o A093907 (Magma) [(2*n+3+(-1)^n)^2/8: n in [1..60]]; // _Vincenzo Librandi_, Mar 01 2016
%o A093907 (GAP)  List([1..60],n->(2*n+3+(-1)^n)^2/8); # _Muniru A Asiru_, Mar 18 2019
%o A093907 (Python)
%o A093907 from math import floor
%o A093907 a = lambda n : 2*floor((n+2)/2)**2
%o A093907 for i in range(1, 60):
%o A093907     print("{}, ".format(a(i)), end="")
%o A093907 # _Christoph B. Kassir_, Apr 06 2022
%Y A093907 Cf. A008794, A116471.
%Y A093907 See A269510 for another version.
%K A093907 nonn,easy
%O A093907 1,1
%A A093907 Guillermo Restrepo, May 26 2004
%E A093907 More terms added by _Harry J. Smith_, Jun 17 2009
%E A093907 Definition clarified by _Donghwi Park_, Mar 01 2016