Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A087381
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A087381 Let Compri(n) be the number obtained by replacing each prime digit (2,3,5,7) of n by a '1' and a composite digit( 0,4,6,8,9) by a '0' . A 1 remains the same. a(n) = Compri(n). +0
2
1, 1, 1, 0, 1, 0, 1, 0, 0, 10, 11, 11, 11, 10, 11, 10, 11, 10, 10, 10, 11, 11, 11, 10, 11, 10, 11, 10, 10, 10, 11, 11, 11, 10, 11, 10, 11, 10, 10, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 10, 11, 11, 11, 10, 11, 10, 11, 10, 10, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 10, 11, 11, 11, 10, 11, 10, 11, 10, 10, 0 (list; graph; listen)
OFFSET

1,10

COMMENT

For all numbers using only composite digits( 0,4,6,8,9,) a(n) = 0. For a 'k' digit number using 1 and/or only prime digits a(n) = (10^k-1)/9.

EXAMPLE

a(4206) = 100

a(10235479) = 10111010

CROSSREFS

Cf. A087380.

Adjacent sequences: A087378 A087379 A087380 this_sequence A087382 A087383 A087384

Sequence in context: A077812 A004288 A065016 this_sequence A136400 A121266 A045988

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Sep 09 2003

EXTENSIONS

More terms from David Wasserman (wasserma(AT)spawar.navy.mil), May 25 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 8 20:39 EST 2009. Contains 166234 sequences.


AT&T Labs Research