Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A105700
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A105700 a(n)=1 if n is a prime, 2 if n is a semiprime, otherwise 0. +0
10
0, 0, 1, 1, 2, 1, 2, 1, 0, 2, 2, 1, 0, 1, 2, 2, 0, 1, 0, 1, 0, 2, 2, 1, 0, 2, 2, 0, 0, 1, 0, 1, 0, 2, 2, 2, 0, 1, 2, 2, 0, 1, 0, 1, 0, 0, 2, 1, 0, 2, 0, 2, 0, 1, 0, 2, 0, 2, 2, 1, 0, 1, 2, 0, 0, 2, 0, 1, 0, 2, 0, 1, 0, 1, 2, 0, 0, 2, 0, 1, 0, 0, 2, 1, 0, 2, 2, 2, 0, 1, 0, 2, 0, 2, 2, 2, 0, 1, 0, 0, 0, 1, 0, 1, 0 (list; graph; listen)
OFFSET

0,5

EXAMPLE

a(4)=1 because n=3 is a prime;

a(5)=2 because n=4 is a semiprime;

a(9)=0 because n=8 is not prime neither semiprime.

CROSSREFS

Cf. A105661.

Sequence in context: A118829 A118832 A122807 this_sequence A159817 A030205 A079532

Adjacent sequences: A105697 A105698 A105699 this_sequence A105701 A105702 A105703

KEYWORD

easy,nonn

AUTHOR

Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), May 04 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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research