Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A101040
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A101040 If n has one or two prime-factors then 1 else 0. +0
6
0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0 (list; graph; listen)
OFFSET

1,1

COMMENT

a(A033942(n))=0; for n>1: a(A037143(n))=1;

a(A000040(n))=1; a(A001358(n))=1;

A101041(n) = Sum(a(k): 1<=k<=n) + 1.

FORMULA

a(n) = A010051(n)+A064911(n) = 0^floor(A001222(n)/3)-0^(n-1).

CROSSREFS

Sequence in context: A106549 A075897 A135947 this_sequence A109720 A022932 A079421

Adjacent sequences: A101037 A101038 A101039 this_sequence A101041 A101042 A101043

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)lhsystems.com), Nov 28 2004

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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research