login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A378492
Squares where larger digits have larger multiplicity.
2
0, 1, 4, 9, 144, 441, 1444, 29929, 55225, 166464, 255025, 299209, 633616, 646416, 767376, 4999696, 9696996, 34433424, 228281881, 414041104, 414488881, 424442404, 536663556, 969699600, 1649496996, 1929229929, 2636206336, 2666999449, 2929299129, 2996029696, 4664343616
OFFSET
1,3
LINKS
MAPLE
filter:= proc(n) local L, S;
L:= convert(n, base, 10);
S:= Statistics:-Tally(L, output=list);
S:= sort(S, (a, b) -> lhs(a) < lhs(b));
andmap(t -> rhs(S[t])<rhs(S[t+1]), [$1..nops(S)-1])
end proc:
select(filter, [seq(i^2, i=0..10^5)]); # Robert Israel, Nov 29 2024
MATHEMATICA
increasingQ[L_]:=Min[Rest[(L-RotateRight[L])]]>0;
sortedQ[n_]:=increasingQ[Sort[Tally[IntegerDigits[n]]][[All, 2]]]
Select[Range[575000000]^2, sortedQ]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Erich Friedman, Nov 28 2024
STATUS
approved