[go: up one dir, main page]

login
Revision History for A265152 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
a(1) = 14, a(n) = smallest number > a(n-1) such that the concatenation of a(n-1) and a(n) is a square.
(history; published version)
#9 by Bruno Berselli at Fri Oct 13 03:31:41 EDT 2017
STATUS

reviewed

approved

#8 by Michel Marcus at Fri Oct 13 00:53:35 EDT 2017
STATUS

proposed

reviewed

#7 by Jon E. Schoenfield at Fri Oct 13 00:15:55 EDT 2017
STATUS

editing

proposed

#6 by Jon E. Schoenfield at Fri Oct 13 00:15:52 EDT 2017
EXAMPLE

a(3) is 89 since it is the least number greater than 44, a(2), =44 which concatenated with 44 forms a perfect square, i.e.; , 4489 = 67^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, 14, 24] (* after the algorithm of _David W. Wilson _ in A090566 *)

STATUS

approved

editing

#5 by N. J. A. Sloane at Thu Dec 03 04:40:40 EST 2015
STATUS

editing

approved

#4 by N. J. A. Sloane at Thu Dec 03 04:40:36 EST 2015
NAME

a(1) = 14, a(n) = smallest number > a(n-1) such that the concatenation of a(n-1) and a(n) is a square.

EXAMPLE

a(3) is 89 since it is the least number greater than 44, a(2), which concatenated with 44 forms a perfect square, i.e.; 4489 = 67^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, 14, 24] (* after the algorithm of David W. Wilson in A090566 *)

KEYWORD

nonn,changed,base

STATUS

proposed

editing

#3 by Robert G. Wilson v at Wed Dec 02 21:40:59 EST 2015
STATUS

editing

proposed

Discussion
Thu Dec 03
03:03
Michel Marcus: keyword base
#2 by Robert G. Wilson v at Wed Dec 02 21:40:55 EST 2015
NAME

allocated for Robert G a(1) = 14, a(n) = smallest number > a(n-1) such that the concatenation of a(n-1) and a(n) is a square. Wilson v

DATA

14, 44, 89, 401, 956, 6649, 17796, 58596, 432489, 4211044, 22847241, 34268944, 85740489, 530152900, 718608036, 3266783209, 33250749225, 96733442161, 617288020224, 5959324297569, 20015258667081, 123104551223296, 420105398760804, 552382701059344, 967075372931216

OFFSET

1,1

EXAMPLE

a(3) is 89 since it is the least number greater than 44, a(2), which concatenated with 44 forms a perfect square, i.e.; 4489 = 67^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, 14, 24] (* after the algorithm of David W. Wilson in A090566 *)

KEYWORD

allocated

nonn

AUTHOR

Robert G. Wilson v, Dec 02 2015

STATUS

approved

editing

#1 by Robert G. Wilson v at Wed Dec 02 21:18:17 EST 2015
NAME

allocated for Robert G. Wilson v

KEYWORD

allocated

STATUS

approved