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.

A338483 a(n) is the smallest number having n smaller numbers with the same number of divisors.

This page as a plain text file.
%I A338483 #18 Dec 22 2020 17:28:26
%S A338483 3,5,7,11,13,17,19,23,29,31,35,38,39,46,51,55,57,58,62,65,69,74,77,82,
%T A338483 85,86,87,91,93,94,95,106,111,115,118,119,122,123,125,129,133,134,141,
%U A338483 142,143,145,146,155,158,159,161,166,177,178,183,185,187,194,201,202,203,205,206,209,213
%N A338483 a(n) is the smallest number having n smaller numbers with the same number of divisors.
%C A338483 Inspired by A047983.
%C A338483 Are there prime terms greater than 31?
%H A338483 Robert Israel, <a href="/A338483/b338483.txt">Table of n, a(n) for n = 1..10000</a>
%F A338483 A047983(a(n)) = n. - _Rémy Sigrist_, Dec 06 2020
%e A338483 The smallest number having two smaller numbers (2 and 3) with the same number of divisors is 5, so a(2) is 5.
%p A338483 N:= 500: # for terms before the first term > N
%p A338483 T:= map(numtheory:-tau, [$1..N]):
%p A338483 M:= max(T):
%p A338483 V:= Vector(M):
%p A338483 for n from 1 to N do
%p A338483   v:= T[n];
%p A338483   V[v]:= V[v]+1;
%p A338483   if not assigned(R[V[v]]) then R[V[v]]:= n fi
%p A338483 od:
%p A338483 for nn from 1 while assigned(R[nn]) do od:
%p A338483 seq(R[i],i=2..nn-1); # _Robert Israel_, Oct 30 2020
%t A338483 f[n_]:=With[{tau=DivisorSigma[0,n]},Length[Select[Range[n-1],DivisorSigma[0,#]==tau&]]];t=Table[f[n],{n,1,300}]; a[n_]:=FirstPosition[t,n]; Rest[a/@Range[0,65]]//Flatten (* f(n) by _Jean-François Alcover_ at A047983 *)
%o A338483 (PARI) f(n) = {my(d=numdiv(n)); sum(k=1, n-1, (numdiv(k)==d))} \\ A047983
%o A338483 a(n) = my(k=1); while (f(k)!= n, k++); k; \\ _Michel Marcus_, Oct 30 2020
%Y A338483 Cf. A000005, A007422, A030513, A047983.
%K A338483 nonn
%O A338483 1,1
%A A338483 _Ivan N. Ianakiev_, Oct 30 2020