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.

A174157 Numbers n such that n^64+(n+1)^64 is a prime.

Original entry on oeis.org

95, 302, 443, 546, 755, 850, 878, 962, 983, 988, 1014, 1026, 1349, 1433, 1541, 1711, 1735, 1897, 1901, 1958, 1961, 1966, 2052, 2058, 2070, 2096, 2142, 2167, 2170, 2208, 2333, 2421, 2471, 2490, 2503, 2527, 2571, 2637, 2643, 2813, 2820, 2885, 2994
Offset: 1

Views

Author

Vincenzo Librandi, Mar 10 2010

Keywords

Crossrefs

Programs

  • Magma
    [n: n in [0..2000] | IsPrime(n^64+(n+1)^64)]
  • Mathematica
    lst={}; Do[If[PrimeQ[n^64+(n+1)^64], AppendTo[lst, n]], {n, 3000}]; lst (* Vincenzo Librandi_, Aug 31 2012 *)
    Position[Total/@Partition[Range[3000]^64,2,1],?(PrimeQ[#]&)]//Flatten (* _Harvey P. Dale, Aug 01 2021 *)