Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A105469
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A105469 Number of numbers of the form 6k+3 with prime(n) <= 6k+3 < prime(n+1). +0
1
0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 2, 1, 1, 0, 2, 0, 1, 1, 1, 1, 1, 0, 2, 0, 1, 0, 2, 2, 1, 0, 1, 1, 0, 2, 1, 1, 1, 0, 1, 1, 0, 2, 2, 1, 0, 1, 2, 1, 2, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 2, 0, 1, 1, 1, 1, 1, 0, 1, 2, 1, 1, 1, 1, 1, 2, 0, 3, 1, 2, 1, 1, 0, 1 (list; graph; listen)
OFFSET

1,30

EXAMPLE

a(4)=1 because between prime(4)=7 and prime(5)=11 there is one number of the form 6k+3: 9.

MATHEMATICA

f[n_] := Count[Table[Mod[k, 6], {k, Prime[n], Prime[n + 1] - 1}], 3]; Table[f[n], {n, 120}] (*Chandler*)

CROSSREFS

Sequence in context: A108934 A108947 A097608 this_sequence A136167 A140748 A070821

Adjacent sequences: A105466 A105467 A105468 this_sequence A105470 A105471 A105472

KEYWORD

easy,nonn

AUTHOR

Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), May 02 2005

EXTENSIONS

Corrected and extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Oct 17 2006

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 July 26 13:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research