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”).

A072433
Numbers n for which there are exactly nine k such that n = k + reverse(k).
1
99, 110, 121, 909, 929, 949, 969, 989, 1009, 1010, 1029, 1030, 1049, 1050, 1069, 1070, 1089, 1090, 1110, 1130, 1150, 1170, 1190, 1881, 2101, 3223, 4763, 9009, 10010, 10989, 11990, 16236, 17776, 18081, 18281, 18481, 18681, 18881, 18898
OFFSET
1,1
COMMENTS
Subsequence of A067030. First term is A072041(9).
Contains 9*10^k+9 for k>=1 and 10^k+10 for k>=2. - Robert Israel, Jul 12 2019
EXAMPLE
99 = k + reverse(k) for k = 18, 27, 36, 45, 54, 63, 72, 81, 90.
MAPLE
N:= 10^5:
revdigs:= proc(n) local L, i;
L:= convert(n, base, 10);
add(L[-i]*10^(i-1), i=1..nops(L))
end proc:
V:= Vector(N):
for x from 1 to N do
v:= x + revdigs(x);
if v <= N then V[v]:= V[v]+1 fi;
od:
select(t -> V[t]=10, [$1..N]); # Robert Israel, Jul 12 2019
PROG
(ARIBAS) var n, k, c, i, rev: integer; st, nst: string; end; m := 9; for n := 0 to 19500 do k := n div 2; c := 0; while k <= n and c < m + 1 do st := itoa(k); nst := ""; for i := 0 to length(st) - 1 do nst := concat(st[i], nst); end; rev := atoi(nst); if n = k + rev then inc(c); if k mod 10 <> 0 and k <> rev then inc(c); end; end; inc(k); end; if c = m then write(n, ", "); end; end;
CROSSREFS
Sequence in context: A243259 A171904 A171903 * A372301 A133650 A045298
KEYWORD
base,nonn
AUTHOR
Klaus Brockhaus, Jun 17 2002
EXTENSIONS
Offset changed by Robert Israel, Jul 12 2019
STATUS
approved