OFFSET
1,1
COMMENTS
All terms are multiples of 9.
The indices of these oblong numbers are 152, 728, 899, 3419, 4220, 4499, 4778, 4850, 5399, 9152, 13499, 13778, 22499, 24497, 31499, 36926, 40499, 46646, 49220, 49778, 50201, 55151, 61352, 68993.
EXAMPLE
530712 is in the sequence because it is an oblong number, 530712 = 728 * 729, and the next oblong number, 532170 = 729 * 730, is an anagram of 530712.
MATHEMATICA
s = {}; o1 = 1; d1 = Sort @ IntegerDigits[o1]; Do[o2 = n*(n + 1); d2 = Sort @ IntegerDigits[o2]; If[d2 == d1, AppendTo[s, o1]]; o1 = o2; d1 = d2, {n, 2, 70000}]; s (* Amiram Eldar, Sep 21 2020 *)
PROG
(PARI) ok(k) = {my(b, m=0); if(issquare(4*k + 1), b=truncate(sqrt(4*k + 1) - 1)/2; if(vecsort(digits(k)) == vecsort(digits((b + 1)*(b + 2))), m = 1)); m}
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antonio Roldán, Sep 21 2020
STATUS
approved