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!)
A265154 a(1) = 16, a(n) = smallest number > a(n-1) such that the concatenation of a(n-1) and a(n) is a square. 8
16, 81, 225, 625, 681, 2100, 3889, 17841, 33121, 452049, 2561025, 9392964, 9776361, 69946276, 104857889, 232947041, 619807376, 729085444, 5435467076, 8236728484, 52686818481, 370961353041, 3290130736249, 4333224368201, 44310474545225, 67348431045184, 67835332918689 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(3) is 225 since it is the least number greater than a(2)=81 which concatenated with 81 forms a perfect square, i.e., 81225 = 285^2.
MATHEMATICA
f[n_] := Block[{x = n, d = 1 + Floor@ Log10@ n}, q = (Floor@ Sqrt[(10^d + 1) x] + 1)^2; If[q < (10^d) (x + 1), Mod[q, 10^d], Mod[(Floor@ Sqrt[(10^d)(10x + 1) - 1] + 1)^2, 10^(d + 1)] ]]; NestList[f, 16, 25] (* after the algorithm of David W. Wilson in A090566 *)
CROSSREFS
Sequence in context: A096020 A016898 A224135 * A268198 A212898 A212145
KEYWORD
nonn,base
AUTHOR
Robert G. Wilson v, Dec 02 2015
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 April 25 05:18 EDT 2024. Contains 371964 sequences. (Running on oeis4.)