The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A256605 Least k such that n+1 is the n-th divisor of k. 0
3, 4, 20, 12, 84, 120, 360, 360, 3960, 2520, 32760, 27720, 27720, 55440, 942480, 720720, 13693680, 12252240, 12252240, 12252240, 281801520, 232792560, 1163962800, 1163962800, 3491888400, 3491888400, 101264763600, 80313433200, 2489716429200, 4658179125600 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
The case n = 1 is not possible because the number 2 is never the first divisor of k (1 is the first divisor).
LINKS
EXAMPLE
a(6) = 84 because the divisors of 84 are {1, 2, 3, 4, 6, 7, 12, 14, 21, 28, 42, 84} and 7 is the 6th divisor of 84.
MAPLE
with(numtheory):for n from 2 to 31 do:ii:=0:for k from 1 to 10^9 while(ii=0) do:x:=divisors(k):n1:=nops(x):if n<=n1 and x[n]=n+1 then ii:=1: printf ( "%d %d \n", n, k):else fi:od:od:
MATHEMATICA
nn=20; t=Table[0, {nn}]; found=1; n=2; While[found<nn, n++; d=Divisors[n]; Do[If[i<=nn&&d[[i]]==i+1&&t[[i]]==0, t[[i]]=n; found++], {i, Length[d]}]]; Rest[t]
PROG
(PARI) a(n) = {k = 1; ok = 0; while (!ok, d = divisors(k); if ((#d >= n) && (d[n] == n+1), ok = 1, k++); ); k; } \\ Michel Marcus, Apr 04 2015
CROSSREFS
Cf. A225562.
Sequence in context: A196198 A041561 A050214 * A237884 A256532 A051719
KEYWORD
nonn
AUTHOR
Michel Lagneau, Apr 04 2015
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 20 19:00 EDT 2024. Contains 372720 sequences. (Running on oeis4.)