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.

A209049 Smallest pentagonal number with n prime factors (counted with multiplicity).

This page as a plain text file.
%I A209049 #8 Dec 27 2022 16:01:46
%S A209049 1,5,22,12,210,176,1520,1080,8400,55200,273280,43776,2624832,7173360,
%T A209049 71660160,100659200,34255872,178962432,3623854080,17895751680,
%U A209049 5413478400,43690752000,927712542720,733008101376,1789570252800,35917382287360,50649120571392
%N A209049 Smallest pentagonal number with n prime factors (counted with multiplicity).
%C A209049 Pentagonal analogy of A075088.
%t A209049 k = 1; t = Table[0, {50}]; While[k < 500000001, a = PrimeOmega[k] + PrimeOmega[3 k - 1] - 1; If[ t[[a + 1]] == 0, t[[a + 1]] = k; Print[{k, a}]]; k++]; # (3 # - 1)/2 & /@ t
%t A209049 Join[{1},Table[SelectFirst[{#,PrimeOmega[#]}&/@PolygonalNumber[5,Range[ 110000]],#[[2]]==n&],{n,20}][[All,1]]] (* The program generates the first 21 terms of the sequence. *) (* _Harvey P. Dale_, Dec 27 2022 *)
%Y A209049 Cf. A075088, A209048.
%K A209049 nonn
%O A209049 0,2
%A A209049 _Robert G. Wilson v_, Mar 04 2012