Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A100718
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A100718 Composite numbers C(p) such that p and C(p)-p are primes. +0
2
8, 10, 14, 30, 54, 58, 62, 66, 82, 108, 114, 120, 178, 182, 204, 210, 318, 324, 330, 352, 366, 430, 506, 544, 560, 586, 596, 616, 704, 738, 792, 858, 870, 914, 918, 960, 988, 990, 1026, 1030, 1062, 1164, 1170, 1194, 1404, 1442, 1446, 1462, 1464, 1470, 1498 (list; graph; listen)
OFFSET

1,1

COMMENT

Nextprime(C(n))=P(C(n)-n)=(C(n)-n)-th prime.

A proof that the sequence is infinite would be nice.

FORMULA

C(n)=n+k where k is such that nextprime(C(n))=k-th prime.

EXAMPLE

a(4)=30 because C(19)=30=19+11, 19 and 11 are prime and P(11)=31=nextprime(30)

MATHEMATICA

Composite[n_Integer] := FixedPoint[n + PrimePi[ # ] + 1 &, n]; Composite /@ Select[ Prime[ Range[ 205]], PrimeQ[ Composite[ # ] - # ] &] (from Robert G. Wilson v Dec 11 2004)

CROSSREFS

Sequence in context: A087695 A134321 A027693 this_sequence A063190 A101763 A020940

Adjacent sequences: A100715 A100716 A100717 this_sequence A100719 A100720 A100721

KEYWORD

nonn

AUTHOR

Robin Garcia (verob99(AT)teleline.es), Dec 11 2004

EXTENSIONS

Edited and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 11 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 July 26 23:19 EDT 2008. Contains 142293 sequences.


AT&T Labs Research