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-1 of 1 results.

A305728 Numbers of the form 216*p^3, where p is a Pythagorean prime (A002144).

Original entry on oeis.org

27000, 474552, 1061208, 5268024, 10941048, 14886936, 32157432, 49027896, 84027672, 152273304, 197137368, 222545016, 279726264, 311665752, 555412248, 714516984, 835896888, 1118386872, 1280824056, 1552836312, 1651400568, 2593941624, 2732256792, 3023464536, 3666512088
Offset: 1

Views

Author

Bruno Berselli, Jun 22 2018

Keywords

Comments

No term can be written as x^2 + y^2 + z^9.

Crossrefs

Programs

  • Magma
    [216*p^3: p in PrimesUpTo(300) | IsOne(p mod 4)];
    
  • Maple
    P := select(p -> isprime(p), [seq(n, n=5..1000, 4)]):
    seq((6*p)^3, p in P); # Peter Luschny, Jun 22 2018
  • Mathematica
    P = Select[Range[5, 300, 4], PrimeQ];
    A305728 = (6P)^3 (* Jean-François Alcover, Jun 22 2018 *)
  • PARI
    first(n) = my(res=List()); forprime(p=5, oo, if(p%4 == 1, listput(res,(6*p)^3); n--; if(n==0, return(res)))) \\ David A. Corneth, Jun 27 2018
Showing 1-1 of 1 results.