OFFSET
2,1
COMMENTS
Also a Cantor diagonal proving the irrational numbers are a non-denumerable infinite set. Also A071901(n)+ 1.
REFERENCES
John D. Barrow, The Infinite Book, Pantheon Book New York 2005, pp. 69-76.
EXAMPLE
The 2nd prime is 3. Sqrt(3) = 1.7320508..., The 2nd entry after the decimal point is 3 and 3+1=4, the 2nd entry in the table.
MATHEMATICA
f[n_] := Block[{rd = RealDigits[ Sqrt@Prime@n, 10, 111]}, Mod[rd[[1, n + rd[[2]]]] + 1, 10]]; Array[f, 105] (* Robert G. Wilson v, Nov 17 2005 *)
PROG
(PARI) a(n) = localprec(n+1); (floor(frac(sqrt(prime(n)))*10^n)+1) % 10; \\ Michel Marcus, Feb 22 2024
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Cino Hilliard, Nov 12 2005
EXTENSIONS
More terms from Robert G. Wilson v, Nov 17 2005
STATUS
approved