The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A227692 Smaller of two consecutive squares which are anagrams (permutations) of each other. 2
 169, 24649, 833569, 20367169, 214534609, 368678401, 372142681, 392554969, 407676481, 771617284, 1013021584, 1212780625, 1404075841, 1567051396, 1623848209, 2538748996, 2866103296, 2898960964, 3015437569, 3967236196, 4098688441, 4937451289, 5854239169 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Given the n-th square, it is occasionally possible to form the (n+1)-th square using the same digits in a different order. "Anagram" means that both squares must not only use the same digits but must use each digit the same number of times. LINKS EXAMPLE 169 and 196 are two successive squares. MAPLE with(numtheory):for n from 1 to 80000 do:p1:=n^2:p2:= (n+1)^2:pp1:=convert(p1, base, 10): pp2:=convert(p2, base, 10):n1:=sort(pp1):n2:=sort(pp2): if n1=n2 then printf(`%d, `, p1):else fi:od: MATHEMATICA lst = {}; k = 1; s = t = 0; ss = {0}; While[k < 155001, s = t; t += k; st = Sort@IntegerDigits@ t; If[ss == st, AppendTo[lst, s]]; ss = st; k += 2]; lst (* Robert G. Wilson v, Oct 24 2014 *) CROSSREFS Cf. A069567, A247305. Sequence in context: A309907 A264222 A051477 * A260862 A006051 A069742 Adjacent sequences:  A227689 A227690 A227691 * A227693 A227694 A227695 KEYWORD nonn,base AUTHOR Michel Lagneau, Aug 12 2013 STATUS approved

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

Last modified January 26 11:27 EST 2021. Contains 340438 sequences. (Running on oeis4.)