The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A034097 Fractional part of square root of a(n) starts with digit 1. 2
10, 17, 27, 38, 51, 66, 67, 83, 84, 103, 104, 124, 125, 147, 148, 172, 173, 174, 199, 200, 201, 229, 230, 231, 260, 261, 262, 293, 294, 295, 328, 329, 330, 331, 365, 366, 367, 368, 405, 406, 407, 408, 446, 447, 448, 449, 489, 490, 491, 492, 534, 535, 536 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Numbers n such that m^2 + m/5 < n <= m^2 + 2m/5 for some positive integer m. - Robert Israel, Oct 31 2016
LINKS
FORMULA
For any a(n) in this sequence, letting k = integer part of sqrt( a(n) ), a(n) belongs to a run of round( 1/25 + 1/5 k ) consecutive terms that differ by one (conjectured). E.g. round( 1/25 + 1/5 floor( sqrt( 330 ) ) ) =4 and 330 is in the run 328, 329, 330, 331, consecutive terms of the series differing by one. - Dimitri Papadopoulos, Oct 28 2016
MAPLE
seq(seq(i, i=ceil((n+1/10)^2)..floor((n+2/10)^2)), n=1..40); # Robert Israel, Oct 31 2016
MATHEMATICA
t={}; For[i=1, i<5001, i++, If[N[Sqrt[i]]-IntegerPart[Sqrt[i]]>=.1&&N[Sqrt[i]]-IntegerPart[Sqrt[i]]<.2, t=Append[t, i]]]; t (* generates the sequence*)
For[i = 1, i < 5001, i++, If[N[Sqrt[i]] - IntegerPart[Sqrt[i]] >= .1 &&N[Sqrt[i]] - IntegerPart[Sqrt[i]] < .2, tt = {i}; For[j = 1, j < Round[N[1/25 + 1/5 IntegerPart[Sqrt[i]]]], j++, tt = Append[tt, i + j]]; Print[tt]; i = i + Round[N[1/25 + 1/5 IntegerPart[Sqrt[i]]]]]] (* generates the sequence with consecutive terms that differ by one grouped together*) (* Dimitri Papadopoulos, Oct 28 2016 *)
PROG
(PARI) isok(n) = my(d = digits(10*frac(sqrt(n))\1)); #d && d[1] == 1; \\ Michel Marcus, Oct 30 2016
(Python)
from math import sqrt
def aupto(lim): return [k for k in range(lim+1) if int(10*sqrt(k))%10 == 1]
print(aupto(536)) # Michael S. Branicky, Oct 17 2021
CROSSREFS
Cf. A034107.
Sequence in context: A267737 A188302 A190771 * A034107 A364823 A019991
KEYWORD
nonn,easy,base
AUTHOR
Patrick De Geest, Sep 15 1998
EXTENSIONS
Offset corrected by Michel Marcus, Oct 30 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 3 12:27 EDT 2024. Contains 373060 sequences. (Running on oeis4.)