OFFSET
1,2
COMMENTS
Also palindromic hill numbers. - Alexander Yutkin, Feb 02 2026
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..1000
EXAMPLE
After 191 the next term is 222 and not 202 or 212.
Terms like 101, 202, 212, 303, 313, 323, ... are not included.
From Alexander Yutkin, Feb 02 2026: (Start)
Illustration using number 233555332:
. . . . . . . . .
. . . 5 5 5 . . .
. . . . . . . . .
. 3 3 . . . 3 3 .
2 . . . . . . . 2
. . . . . . . . .
(End)
MAPLE
isA110784 := proc(n::integer)
if isA002113(n) then # use code in A002113
dgs := convert(n, base, 10) ;
for d from 2 to ceil(nops(dgs)/2) do
if op(d, dgs) < op(d-1, dgs) then
return false;
end if;
end do:
true ;
else
false;
end if;
end proc:
for n from 1 to 3000 do
if isA110784(n) then
printf("%d, ", n);
end if;
end do: # R. J. Mathar, Jul 30 2025
MATHEMATICA
A110784Q[k_] := PalindromeQ[#] && Min[Differences[#[[;; Ceiling[Length[#]/2]]]]] >= 0 & [IntegerDigits[k]];
Select[Range[2000], A110784Q] (* Paolo Xausa, Jul 31 2025 *)
PROG
(Python)
def ok(n): return (s:=str(n)) == s[::-1] and (h:=s[:(len(s)+1)//2]) == "".join(sorted(h))
print([k for k in range(1, 2223) if ok(k)]) # Michael S. Branicky, Feb 01 2026
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Aug 12 2005
STATUS
approved
