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.

Showing 1-2 of 2 results.

A076814 Integer averages of five successive primes squared, (prime(n)^2+prime(n+1)^2+prime(n+2)^2+prime(n+3)^2+prime(n+4)^2)/5, for some n.

Original entry on oeis.org

173329, 2723401, 7473769, 8941585, 9001465, 12978889, 13036537, 20273569, 36595345, 36682537, 52600465, 52774873, 52961113, 67138681, 67302601, 67473265, 78972121, 116515177, 121251433, 121560049, 123179113, 124184545, 124416361, 130951609, 141215449
Offset: 1

Views

Author

Zak Seidov, Oct 17 2002

Keywords

Comments

Unlike the average of two, three or four successive primes squares, the average of five successive primes squared is not always an integer. The values of starting index in the sequence of five successive primes squared having integer average are in A076815.

Examples

			173329 is OK because, starting with n=79, five successive primes squared has average 173329.
		

Crossrefs

Cf. A076815.

Programs

  • Mathematica
    Select[Mean/@Partition[Prime[Range[2000]]^2,5,1],IntegerQ] (* Harvey P. Dale, May 22 2021 *)

Formula

(prime(n)^2+prime(n+1)^2+prime(n+2)^2+prime(n+3)^2+prime(n+4)^2)/5.

Extensions

More terms from Harvey P. Dale, May 22 2021

A288376 Primes of the form k!2+2, where k!2 is the double factorial number (A006852).

Original entry on oeis.org

3, 5, 17, 107, 947, 13749310577, 316234143227, 213458046676877, 495179769008019818390136611716089140627, 13114900840751548972796135496384318234575359262373046877, 28352254429826839019508359891905756542124154226667992913078222750278633810791015627
Offset: 1

Views

Author

Robert Price, Jun 08 2017

Keywords

Crossrefs

Cf. A076815.

Programs

  • Mathematica
    MultiFactorial[n_, k_] := If[n<1, 1, n*MultiFactorial[n-k, k]];
    Select[Table[MultiFactorial[i, 2] + 2, {i, 0, 100}], PrimeQ[#]&]
Showing 1-2 of 2 results.