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.

A294906 a(n) is the least squarefree integer, product of n primes that are symmetrically distributed around their average.

This page as a plain text file.
%I A294906 #12 Feb 25 2024 06:00:05
%S A294906 2,6,105,2145,53295,1616615,57998985,3038795305,3907126810041,
%T A294906 7292509103495,66240019730740785,82246340873964085,
%U A294906 1870667082297874652055,343515424581301546805,9160656702012692171113335,2356596317899272514936585,1903895854998638367242867256645
%N A294906 a(n) is the least squarefree integer, product of n primes that are symmetrically distributed around their average.
%e A294906 The prime factors of the first terms are: [2], [2, 3], [3, 5, 7], [3, 5, 11, 13], [3, 5, 11, 17, 19], [5, 7, 11, 13, 17, 19], [3, 5, 11, 17, 23, 29, 31], ...
%o A294906 (PARI) isok(n, nb) = {if (issquarefree(n) && (omega(n)==nb), f = factor(n)[, 1]~; avg = vecsum(f)/#f; for (k=1, #f\2, if (f[k] + f[#f-k+1] != 2*avg, return(0));); return (1););}
%o A294906 a(n) = {my(k = prod(i=1, n, prime(i))); while (! isok(k, n), k++); k;}
%Y A294906 Cf. A262723, A294751, A294752, A294776.
%K A294906 nonn
%O A294906 1,1
%A A294906 _Michel Marcus_, Nov 10 2017
%E A294906 a(8)-a(17) from _Giovanni Resta_, Nov 10 2017