login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A055961 a(n) = n - (reversal of base-11 digits of n) (written in base 10). 1
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, -10, -20, -30, -40, -50, -60, -70, -80, -90, 20, 10, 0, -10, -20, -30, -40, -50, -60, -70, -80, 30, 20, 10, 0, -10, -20, -30, -40, -50, -60, -70, 40, 30, 20, 10, 0, -10, -20, -30, -40, -50, -60, 50, 40, 30, 20, 10, 0, -10, -20, -30, -40, -50, 60, 50, 40, 30, 20, 10, 0, -10, -20, -30, -40 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,12
COMMENTS
a(n) is a multiple of 10.
LINKS
FORMULA
a(n) = n - A056960(n).
MAPLE
f:= proc(n) local L, t;
L:= convert(n, base, 11);
n - add(L[-i]*11^(i-1), i=1..nops(L))
end proc:
map(f, [$0..100]); # Robert Israel, Apr 20 2021
MATHEMATICA
Table[n-FromDigits[Reverse[IntegerDigits[n, 11]], 11], {n, 0, 80}] (* Harvey P. Dale, Feb 21 2023 *)
PROG
(PARI) a(n) = n - fromdigits(Vecrev(digits(n, 11)), 11); \\ Michel Marcus, Apr 22 2021
CROSSREFS
Cf. A056960 (base-11 reversal), A056965 (n minus decimal reversal).
Sequence in context: A284780 A010681 A095418 * A341504 A196081 A320380
KEYWORD
base,sign,look
AUTHOR
Henry Bottomley, Jul 18 2000
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 21:51 EDT 2024. Contains 371781 sequences. (Running on oeis4.)