Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A061649
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A061649 Smallest absolute value of a remainder when the larger of n and its reverse is divided by the smaller. +0
1
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 1, 6, 3, 3, 9, 4, 0, 3, 0, 9, 6, 2, 10, 9, 2, 5, 0, 5, 9, 0, 9, 17, 9, 1, 7, 15, 0, 1, 6, 9, 0, 9, 18, 20, 12, 4, 0, 6, 2, 17, 9, 0, 9, 18, 27, 23, 0, 3, 10, 9, 18, 9, 0, 9, 18, 27, 0, 3, 9, 1, 20, 18, 9, 0, 9, 18, 0, 9, 2, 7, 12, 27, 18, 9, 0, 9, 0, 4, 5, 15 (list; graph; listen)
OFFSET

0,13

LINKS

Harry J. Smith, Table of n, a(n) for n=0,...,1000

EXAMPLE

a(12)=3 since 21/12=2 with remainder -3.

PROGRAM

(PARI) { for (n=0, 1000, x=n; r=0; while (x>0, d=x-10*(x\10); x\=10; r=r*10 + d); m=min(n, r); a=max(n, r)%m; write("b061649.txt", n, " ", min(a, m-a)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jul 25 2009]

CROSSREFS

Sequence in context: A030311 A155526 A076553 this_sequence A073365 A065077 A118788

Adjacent sequences: A061646 A061647 A061648 this_sequence A061650 A061651 A061652

KEYWORD

base,easy,nice,nonn

AUTHOR

Erich Friedman (efriedma(AT)stetson.edu), Jun 16 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research