A111423 a(n) = n-th decimal digit of the fractional part formed by the 4th root of the n-th prime.
1, 1, 5, 5, 6, 8, 1, 2, 3, 1, 7, 9, 2, 1, 5, 5, 0, 3, 4, 3, 4, 7, 5, 0, 1, 3, 4, 4, 5, 0, 8, 1, 1, 0, 3, 1, 3, 6, 6, 0, 9, 0, 9, 4, 8, 6, 4, 0, 8, 1, 0, 1, 7, 7, 2, 9, 9, 6, 9, 5, 6, 0, 6, 1, 1, 1, 1, 4, 4, 0, 6, 9, 9, 4, 6, 6, 3, 9, 2, 4, 8, 9, 3, 5, 2, 5, 0, 7, 8, 4, 8, 8, 6, 2, 8, 6, 0, 6, 9, 0, 6, 1, 8, 6, 5
Offset: 1
Programs
-
Mathematica
a[n_] := Block[{rd = RealDigits[Sqrt@Sqrt@Prime@n, 10, 111]}, rd[[1, n + rd[[2]] ]]]; Array[a, 105] (* Robert G. Wilson v, Nov 17 2005 *)
-
PARI
a(n) = localprec(n+1); floor(frac(sqrtn(prime(n), 4))*10^n) % 10; \\ Michel Marcus, Feb 22 2024
Extensions
More terms from Robert G. Wilson v, Nov 17 2005