login
A361612
Decimal expansion of sqrt(10) truncated to n places (after the decimal point).
1
3, 31, 316, 3162, 31622, 316227, 3162277, 31622776, 316227766, 3162277660, 31622776601, 316227766016, 3162277660168, 31622776601683, 316227766016837, 3162277660168379, 31622776601683793, 316227766016837933, 3162277660168379331, 31622776601683793319
OFFSET
0,1
FORMULA
a(n) = floor(sqrt(10) * 10^n).
a(n) = A017934(2*n + 1).
a(n-1) mod 10 = A010467(n). - Chai Wah Wu, Mar 26 2023
MATHEMATICA
Floor[Sqrt[10]*10^Range[0, 20]] (* Paolo Xausa, Jul 25 2024 *)
PROG
(Python)
from math import isqrt
def A361612(n): return isqrt(10**((n<<1)|1)) # Chai Wah Wu, Mar 26 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Amit Katz, Mar 17 2023
STATUS
approved