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.

A029938 a(n) = (p-5)(p-7)/24, where p=prime(n).

This page as a plain text file.
%I A029938 #26 Jun 18 2022 13:41:06
%S A029938 0,0,1,2,5,7,12,22,26,40,51,57,70,92,117,126,155,176,187,222,247,287,
%T A029938 345,376,392,425,442,477,610,651,715,737,852,876,950,1027,1080,1162,
%U A029938 1247,1276,1426,1457,1520,1552,1751
%N A029938 a(n) = (p-5)(p-7)/24, where p=prime(n).
%C A029938 Also the dimension of the space of cusp forms of weight two on Gamma1(p), where p=5, 7, 11, 13, ... ranges over all primes exceeding 3. - _Steven Finch_, Apr 03 2009
%D A029938 F. Hirzebruch et al., Manifolds and Modular Forms, Vieweg, 2nd ed. 1994, p. 161.
%H A029938 T. D. Noe, <a href="/A029938/b029938.txt">Table of n, a(n) for n = 3..1000</a>
%F A029938 a(n) = (A000040(n) - 5)*(A000040(n) - 7)/24. - _Wesley Ivan Hurt_, Feb 25 2014
%p A029938 A029938:=n->(ithprime(n)-5)*(ithprime(n)-7)/24; seq(A029938(n), n=3..60); # _Wesley Ivan Hurt_, Feb 25 2014
%t A029938 ((#-5)(#-7))/24&/@Prime[Range[3,60]] (* _Harvey P. Dale_, Feb 01 2012 *)
%t A029938 Table[(Prime[n] - 5) (Prime[n] - 7)/24, {n, 3, 30}] (* _Wesley Ivan Hurt_, Feb 25 2014 *)
%o A029938 (Magma) [(p-5)*(p-7)/24: p in PrimesInInterval(4, 300)]; // _Vincenzo Librandi_, Feb 28 2014
%Y A029938 Cf. A029937. - _Steven Finch_, Apr 03 2009
%Y A029938 Cf. A000040.
%K A029938 nonn,nice
%O A029938 3,4
%A A029938 _N. J. A. Sloane_