Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A106649
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A106649 Replace each digit d (except leading one) of n by 9-d. +0
10
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 79, 78, 77 (list; graph; listen)
OFFSET

0,3

COMMENT

By definition, one-digit numbers do not change. Differs from A003100 starting with a(21)=29: A003100(21)=20. A003100={0,1,2,3,4,5,6,7,8,9,19,18,17,16,15,14,13,12,11,10,20,21,22,23,24,25,26,27,28,29,39,38,37,36,35,34,33,32,31,30,40,41,42, 43,44,45,46,47,48,49}: Decimal Gray code for n.

LINKS

Index entries for sequences that are permutations of the natural numbers

FORMULA

a(n) = if n < 10 then n else 2*a(floor(n/2)) + 9 - n mod 10; a self-inverse permutation of the natural numbers, A115310(n+8, 9) = a(n) for n>0. - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Jan 20 2006

MATHEMATICA

a[n_]:=FromDigits[Flatten[{IntegerDigits[n][[1]], Map[9-#&, Drop[IntegerDigits[n], 1]]}]]; Table[a[n], {n, 0, 100}]

CROSSREFS

Cf. A003100.

Cf. A054429, A115303, A115304, A115305, A115306, A115307, A115308, A115309.

Sequence in context: A003100 A118757 A118758 this_sequence A087121 A087052 A117241

Adjacent sequences: A106646 A106647 A106648 this_sequence A106650 A106651 A106652

KEYWORD

nonn,base

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), May 12 2005

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 22 20:51 EST 2009. Contains 167312 sequences.


AT&T Labs Research