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.

A358894 a(n) is the smallest centered n-gonal number with exactly n distinct prime factors.

Original entry on oeis.org

460, 99905, 463326, 808208947, 23089262218, 12442607161209225, 53780356630, 700326051644920151, 46634399568693102, 45573558879962759570353
Offset: 3

Views

Author

Ilya Gutkovskiy, Dec 05 2022

Keywords

Examples

			a(3) = 460, because 460 is a centered triangular number with 3 distinct prime factors {2, 5, 23} and this is the smallest such number.
		

Crossrefs

Programs

  • PARI
    a(n) = if(n<3, return()); for(k=1, oo, my(t=((n*k*(k+1))/2+1)); if(omega(t) == n, return(t))); \\ Daniel Suteu, Dec 05 2022

Extensions

a(8)-a(9) from Daniel Suteu, Dec 05 2022
a(10)-a(12) from Daniel Suteu, Dec 06 2022