A256267 a(n) = A256017(n)/n.
2, 2, 3, 2, 5, 3, 7, 2, 3, 5, 11, 13, 13, 7, 5, 2, 17, 3, 19, 5, 7, 11, 23, 29, 5, 13, 3, 7, 29, 31, 31, 2, 11, 17, 7, 37, 37, 19, 13, 41, 41, 7, 43, 11, 47, 23, 47, 53, 7, 5, 17, 13, 53, 3, 11, 59, 19, 29, 59, 61, 61, 31, 67, 2, 13, 11, 67, 17, 23, 71, 71, 73
Offset: 1
Keywords
Links
- Michel Lagneau, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
a[n_]:=If[n==1, 2, Block[{k= 2*n, f, d, m}, f = FactorInteger @n; If[1 == Length@f, f[[1, 1]]^(1 + f[[1, 2]]), d = Divisors@ n; m = Length@ d; While[ Take[ Divisors@ k, m] != d, k += n]; k]]]/n; Array[a, 100](* program from Giovanni Resta, adapted for this sequence. See A256017 *)
Formula
a(n) = A256017(n)/n.
Comments