A341860 a(n) is the least k such that A341857(k) = psi(k^2)/k = n, or 0 if no such k exists.
1, 3, 14, 5, 22, 7, 116, 32, 38, 11, 46, 13, 212, 58, 62, 17, 618, 19, 2748, 25, 86, 23, 94, 219, 404, 106, 162, 29, 118, 31, 4476, 128, 134, 309, 142, 37, 596, 1374, 158, 41, 166, 43, 692, 115, 418, 47, 1698, 119, 788, 202, 206, 53, 214, 81, 242, 226, 916, 59
Offset: 1
Keywords
Examples
A341857(116) = psi(116^2)/116 = 812/116 = 7, and there is no k < 116 such that psi(k^2)/k = 7, so a(7) = 116.
Links
- Jianing Song, Table of n, a(n) for n = 1..500
Crossrefs
Cf. A341857.
Programs
-
Mathematica
A341860[n_] := Block[{k = 0}, While[CarmichaelLambda[++k^2]/k != n]; k]; Array[A341860, 100] (* Paolo Xausa, Mar 11 2024 *)
-
PARI
a(n) = for(k=1, oo, if(A341857(k)==n, return(k))) \\ Suppose that a(n) > 0. See A341857 for its program
Comments