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.

A236382 Values of y corresponding to the smallest value of x such that x^2 + y^2 = P, where P is the product of the first n primes of the form 4k + 1, and 0 < x < y.

Original entry on oeis.org

2, 8, 33, 179, 1087, 6972, 50741, 396437, 3387169, 31954512, 314715456, 3162851149, 33021136387, 351019495376, 4108577867504, 50151584231673, 628397549315889, 8265279309778838, 111197960474124352, 1544811437679174169, 21682461771278746182, 328115185564476599824
Offset: 1

Views

Author

Colin Barker, Jan 24 2014

Keywords

Examples

			a(3) = 33 because the solutions to x^2 + y^2 = 5*13*17 are (x,y) = (23,24), (9,32), (4,33), (12,31) and the value of y corresponding to the smallest value of x is 33.
		

Crossrefs

Programs

  • PARI
    a(n) = my(t=1, v); forprimestep(p=5, oo, 4, t*=p; if(!n--, break)); v=qfbsolve(Qfb(1, 0, 1), t, 3); vecmax(vector(#v, i, vecmax(abs(v[i])))); \\ Jinyuan Wang, Apr 30 2025

Extensions

a(22) from Jinyuan Wang, Apr 30 2025