Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A076368
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A076368 a(1) = 1; for n > 1, a(n) = prime(n)-prime(n-1)+1. +0
6
1, 2, 3, 3, 5, 3, 5, 3, 5, 7, 3, 7, 5, 3, 5, 7, 7, 3, 7, 5, 3, 7, 5, 7, 9, 5, 3, 5, 3, 5, 15, 5, 7, 3, 11, 3, 7, 7, 5, 7, 7, 3, 11, 3, 5, 3, 13, 13, 5, 3, 5, 7, 3, 11, 7, 7, 7, 3, 7, 5, 3, 11, 15, 5, 3, 5, 15, 7, 11, 3, 5, 7, 9, 7, 7, 5, 7, 9, 5, 9, 11, 3, 11, 3, 7, 5, 7, 9, 5, 3, 5, 13, 9, 5, 9, 5, 7 (list; graph; listen)
OFFSET

1,2

COMMENT

Counts[occurrences] of n in A060646 or n-th prime in A076367.

Sequences A060646, A076367, A076368 was used in proof a property of 30. See A048597, A060646 and corresponding References. It is provable[Bonse] that a(n)>=3 if n>3.

MATHEMATICA

c[x_, j_] := x+1-(j+Prime[j])c[x, 0]=x; a=1000; t=Table[0, {a}]; t1=Table[0, {a}]; Table[fl=1; (*Print["% ", u, " #"]; *)Do[s=c[u, n]; If[Equal[fl, 1]&&Equal[Sign[s], -1], Print[n]; t[[u]]=n; t1[[u]]=Prime[n]; fl=0], {n, 1, u}], {u, 1, a}]//t (*=A060646*)//t1 (*=A076367*) Table[Count[t, j], {j, 1, PrimePi[a]}]

CROSSREFS

Cf. A048597, A060646, A076367. See also A076366.

Cf. A000040, A001223.

Sequence in context: A063256 A131320 A119912 this_sequence A071049 A140187 A111607

Adjacent sequences: A076365 A076366 A076367 this_sequence A076369 A076370 A076371

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Oct 14 2002

EXTENSIONS

Simpler description from Vladeta Jovovic (vladeta(AT)eunet.rs), Mar 29 2003

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 10 12:37 EST 2009. Contains 170569 sequences.


AT&T Labs Research