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.

A155714 Least number expressible as a^2 + p b^2 with positive integers a,b, for each prime p <= prime(n) = A000040(n).

Original entry on oeis.org

3, 12, 36, 144, 144, 4356, 4356, 4356, 7056, 17424, 176400, 2547216, 2547216, 6290064, 6780816, 6780816, 6780816, 6780816, 93315600, 93315600, 271986064, 271986064, 271986064, 271986064, 271986064, 308213136, 308213136, 308213136
Offset: 1

Views

Author

M. F. Hasler, Feb 10 2009

Keywords

Comments

a(n) > 10^9 for n >= 33. [From Donovan Johnson, Sep 29 2009]

Crossrefs

Programs

  • PARI
    A155714(k,n=1) = { local(p); until( !n++, p=prime(k); until( !p=precprime(p-1), for( b=1, sqrtint((n-1)\p), issquare(n-p*b^2) & next(2)); next(2)); break);n}
    t=1; for(k=1,30, print1(t=A155714(k,t),","))

Extensions

a(12)-a(32) and b-file from Donovan Johnson, Sep 29 2009