A034057 Decimal part of a(n)^(1/2) starts with n (squares excluded).
26, 10, 5, 11, 2, 21, 7, 3, 8, 35, 199, 83, 17, 124, 51, 173, 10, 201, 67, 27, 149, 52, 126, 5, 18, 541, 127, 86, 53, 28, 69, 11, 40, 336, 54, 19, 70, 179, 29, 108, 41, 2, 71, 89, 6, 181, 12, 20, 42, 182, 1407, 381, 157, 91, 57, 43, 31, 134, 21, 92, 13, 58
Offset: 0
Examples
a(0)=26 -> 26^(1/2)=5.{0}990195... a(1)=10 -> 10^(1/2)=3.{1}622776...
Links
- Paul Tek, Table of n, a(n) for n = 0..10000
- Paul Tek, PARI program for this sequence
Programs
-
Python
from math import sqrt def a(n): k, s, pow10 = 3, sqrt(2), 10**len(str(n)) while int(pow10*(s-int(s))) != n: k, s = k+1, sqrt(k) return k-1 print([a(n) for n in range(1, 67)]) # Michael S. Branicky, Mar 15 2021
Extensions
Title corrected by Sean A. Irvine, Aug 02 2020