Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A109847
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A109847 Least common multiple of n and its 9's complement. +0
2
8, 14, 6, 20, 20, 6, 14, 8, 0, 890, 88, 348, 1118, 1190, 420, 1328, 1394, 162, 1520, 1580, 546, 154, 1748, 600, 1850, 1898, 216, 1988, 2030, 690, 2108, 2144, 66, 2210, 2240, 252, 2294, 2318, 780, 2360, 2378, 798, 2408, 220, 270, 2438, 2444, 816, 2450, 2450 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(2)=14 because 7=9-2 and lcm(2,7)=14

a(9)=lcm(0,9)=0. a(10)=lcm(89,10)=890.

MAPLE

digs := proc(inp::integer) local resul, shiftinp : resul := 1 : shiftinp := iquo(inp, 10) : while shiftinp > 0 do resul := resul+1 : shiftinp := iquo(shiftinp, 10) : od : RETURN(resul) : end: nin := proc(inp::integer) RETURN(10^digs(inp)-1-inp) : end : for n from 1 to 40 do comp := nin(n) ; #print(n, comp, lcm(n, comp)) ; printf("%d, ", lcm(n, comp)) ; od : - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 27 2006

CROSSREFS

Cf. A109848, A084021.

Sequence in context: A081966 A166670 A107764 this_sequence A122459 A092537 A082772

Adjacent sequences: A109844 A109845 A109846 this_sequence A109848 A109849 A109850

KEYWORD

base,easy,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jul 06 2005

EXTENSIONS

Corrected and extended by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 27 2006

More terms from Joshua Zucker (joshua.zucker(AT)stanfordalumni.org), May 03 2006

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 December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research