reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
Decimal 25 is "185" in base -10 because 100 - 80 + 5 = 25.
(PARI) A039723 = base(n, b=-10) = if(n, base(n\b, b)*10 + n%b, 0) \\ M. F. Hasler, Oct 16 2018 [Corrected by Jianing Song, Oct 21 2018]
(PARI) A039723 = base(n, b=-10) = if(n, base(n\b, b)*10+n%b, 0) \\ M. F. Hasler, Oct 16 2018 [Corrected by _Jianing Song_, Oct 21 2018]
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
Cf. A305238: negative numbers in base -10.
(PARI) A039723=base(n, b=-10)=if(n, base(n\b, b)*10+n%b) \\ M. F. Hasler, Oct 16 2018
approved
editing