login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A087996 Residues when (n+rev[n]) is divided by (abs(n-rev[n]); if n=rev[n] (when n is palindromic), or when the quotient is integer (see A087993). 0
0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 6, 8, 1, 30, 32, 34, 36, 38, 4, 6, 0, 1, 12, 23, 16, 9, 2, 58, 6, 8, 1, 0, 5, 16, 18, 2, 31, 24, 8, 1, 12, 5, 0, 0, 2, 13, 24, 8, 10, 30, 23, 16, 0, 0, 4, 6, 8, 10, 12, 32, 16, 18, 2, 4, 0, 8, 10, 3, 14, 34, 9, 2, 13, 6, 8, 0, 3, 14, 16, 36, 2, 31, 24, 8, 10, 3, 0, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,10

LINKS

Table of n, a(n) for n=1..89.

FORMULA

a(n)=Mod[n+rev(n), abs[n-rev(n)]] if n is non-palindromic or is non-integer; a(n)=0 otherwise.

MATHEMATICA

dm[n_]:=Module[{rev=FromDigits[Reverse[IntegerDigits[n]]]}, If[n == rev, 0, Mod[ n+rev, Abs[n-rev]]]]; Array[dm, 90] (* Harvey P. Dale, Feb 20 2013 *)

CROSSREFS

Cf. A087993, A087994.

Sequence in context: A220608 A057720 A248507 * A086777 A058498 A003076

Adjacent sequences:  A087993 A087994 A087995 * A087997 A087998 A087999

KEYWORD

base,nonn

AUTHOR

Labos Elemer, Oct 08 2003

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified March 28 22:27 EDT 2017. Contains 284249 sequences.