login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A358926 a(n) is the smallest centered n-gonal number with exactly n prime factors (counted with multiplicity). 2
316, 1625, 456, 3964051, 21568, 6561, 346528, 3588955448828761, 1684992, 210804461608463437, 36865024, 835904150390625, 2052407296 (list; graph; refs; listen; history; text; internal format)
OFFSET
3,1
LINKS
Eric Weisstein's World of Mathematics, Centered Polygonal Number
Eric Weisstein's World of Mathematics, Prime Factor
EXAMPLE
a(3) = 316, because 316 is a centered triangular number with 3 prime factors (counted with multiplicity) {2, 2, 79} and this is the smallest such number.
MATHEMATICA
c[n_, k_] := n*k*(k + 1)/2 + 1; a[n_] := Module[{k = 1, ck}, While[PrimeOmega[ck = c[n, k]] != n, k++]; ck]; Array[a, 7, 3] (* Amiram Eldar, Dec 09 2022 *)
PROG
(PARI) a(n) = if(n<3, return()); for(k=1, oo, my(t=((n*k*(k+1))/2+1)); if(bigomega(t) == n, return(t))); \\ Daniel Suteu, Dec 09 2022
CROSSREFS
Sequence in context: A033861 A179155 A237561 * A264540 A253689 A233048
KEYWORD
nonn,more
AUTHOR
Ilya Gutkovskiy, Dec 06 2022
EXTENSIONS
a(10)-a(15) from Daniel Suteu, Dec 09 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 2 07:19 EDT 2024. Contains 372178 sequences. (Running on oeis4.)