A085067 a(1) = 6, a(n) = smallest number of the form k*a(n-1) + 1 with the same number of divisors, i.e., 4.
6, 55, 111, 334, 335, 671, 1343, 16117, 16118, 64473, 64474, 257897, 2063177, 8252709, 41263546, 123790639, 371371918, 1485487673, 2970975347, 59419506941, 356517041647, 5704272666353, 11408545332707, 262396542652262
Offset: 1
Links
- Amiram Eldar, Table of n, a(n) for n = 1..90
Crossrefs
Cf. A085066.
Programs
-
Mathematica
v = 6; Print[v]; Do[k = 1; While[DivisorSigma[0, k*v + 1] != 4, k++ ]; v = k*v + 1; Print[v], {n, 2, 30}] (* Ryan Propper, Aug 29 2005 *) snsnd[n_]:=Module[{k=1},While[DivisorSigma[0,k*n+1]!=4,k++];k*n+1]; NestList[ snsnd,6,30] (* Harvey P. Dale, Apr 19 2021 *)
Extensions
Corrected and extended by Ryan Propper, Aug 29 2005
Comments