cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A265432 a(n) = smallest k with concat(1,k) and concat(n,k) both square numbers.

Original entry on oeis.org

225, 6, 1025, 6, 225, 9937257544619140625, 80625, 225, 19025, 14797831640625, 5625, 89450791534674072265625, 96, 69, 44, 21, 1993672119140625, 2002541101386962890625, 225, 6, 8734765625, 99758030615478515625, 5625, 863225, 80625, 6, 40625, 225, 890625, 158764150390625
Offset: 0

Views

Author

Keywords

Comments

k must be a positive integer (and of course cannot begin with 0). - N. J. A. Sloane, May 19 2016
Every term is a member of A272671, by definition. Certainly every term of A272671 which is a power of 100 times an earlier term of A272671 (such as 600, 2100, 4400) will not appear, by the "smallest k" condition. Does every other term of A272671 (that is, the terms of A272684) eventually appear? See A272685 and A273369 for the first appearance of these terms. - Nathan Fox, Brooke Logan, and N. J. A. Sloane, May 23 2016

Examples

			a(0) = 225 because 1225 is a square as is (0)225. (In other words, 225 is the first term in A272672 that is itself a square). - _N. J. A. Sloane_, May 21 2016
a(2) = 1025 because concat(1,1025) = 11025 = 105^2 and concat(2,1025) = 21025 = 145^2.
		

Crossrefs

Cf. A045855, A272671, A018796, A272684, A272685 and A273369 (smallest inverse).
For records see A272674, A272675.
For square roots referred to in definition see A272682, A272683.
A018851 is a simpler sequence in the same spirit.

Programs

  • Mathematica
    << Combinatorica`
    A265432[0] = 225;
    A265432[1] = 6;
    A265432[n_] := Block[{x = {-1, 1, 0, 1}[[Mod[n, 4, 1]]], d = Infinity, l, i}, While[d > Sqrt[10.0^(x - 1)] (Sqrt[10.0 n + 1] - Sqrt[11.0]), x++; d = Infinity; l = Divisors[((n - 1) 10^x)/4]; i = BinarySearch[l, 0.5 Sqrt[(n + 1) 10.0^x - 1] - 0.5 Sqrt[2*10.0^x - 1]]; If[i <= Length@l, d = 2*l[[i + 1/2]]]]; (((n - 1) 10^x - d^2)/(2 d))^2 - 10^x] (* Davin Park, Apr 11 2017 *)

A272674 Records in A265432.

Original entry on oeis.org

225, 1025, 9937257544619140625, 89450791534674072265625, 13268252282260894775390625, 1110239752327213382720947265625, 23880648486131856540581070818006992340087890625, 82567607657239917717538563557900488376617431640625
Offset: 1

Views

Author

Keywords

Crossrefs

Showing 1-2 of 2 results.