Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A088999
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A088999 Flip 6,9 numbers. +0
1
9, 6, 19, 16, 29, 26, 39, 36, 49, 46, 59, 56, 90, 91, 92, 93, 94, 95, 99, 97, 98, 96, 79, 76, 89, 86, 60, 61, 62, 63, 64, 65, 69, 67, 68, 66, 109, 106, 119, 116, 129, 126, 139, 136, 149, 146, 159, 156, 190, 191, 192, 193, 194, 195, 199, 197, 198, 196, 179, 176, 189 (list; graph; listen)
OFFSET

1,1

FORMULA

For digits d of n if d=6 make it 9 else if d=9 make it 6.

PROGRAM

(PARI) flip69(n) = { for(x=1, n, y=x; v=0; f=0; ln =length(Str(x)); a = vector(ln); forstep(j=ln, 1, -1, r = y%10; a[j]=r; if(r==6, a[j] = 9; f=1); if(r==9, a[j] = 6; f=1); y = floor(y/10); ); forstep(j=ln, 1, -1, v=v+a[j]*10^(ln-j) ); if(f, print1(v", ")); ) }

CROSSREFS

Sequence in context: A166520 A102648 A040074 this_sequence A073782 A156033 A038296

Adjacent sequences: A088996 A088997 A088998 this_sequence A089000 A089001 A089002

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Nov 02 2003

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 21 21:21 EST 2009. Contains 167310 sequences.


AT&T Labs Research