Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A078442
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A078442 a(p(n))=a(n)+1 for n-th prime p(n); a(n)=0 if n is not prime. +0
4
0, 1, 2, 0, 3, 0, 1, 0, 0, 0, 4, 0, 1, 0, 0, 0, 2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0 (list; graph; listen)
OFFSET

1,3

COMMENT

Fernandez calls this the order of primeness of n.

LINKS

N. Fernandez, An order of primeness, F(p)

EXAMPLE

a(1)=0 since 1 is not prime; a(2)=a(p(1))=a(1)+1=1+0=1; a(3)=a(p(2))=a(2)+1=1+1=2; a(4)=0 since 4 is not prime; a(5)=a(p(3))=a(3)+1=2+1=3; a(6)=0 since 6 is not prime; a(7)=a(p(4))=a(4)+1=0+1=1.

CROSSREFS

a(A000040(n))=A049076(n), a(A018252(n))=0.

Sequence in context: A113303 A080089 A113290 this_sequence A135523 A135685 A164658

Adjacent sequences: A078439 A078440 A078441 this_sequence A078443 A078444 A078445

KEYWORD

nonn

AUTHOR

Henry Bottomley (se16(AT)btinternet.com), Dec 31 2002

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 December 16 17:18 EST 2009. Contains 170825 sequences.


AT&T Labs Research