Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A084106
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A084106 Larger difference (r-q or q-p) associated with A084105. +0
2
2, 6, 14, 10, 12, 18, 22, 24, 28, 30, 34, 42, 52, 54, 58, 60, 70, 82, 90, 100, 118, 132, 136, 148, 150, 168, 178, 196, 208, 214, 220, 234, 250, 288, 310 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(5)=12 because the larger difference between A084105(5)=199 and its prime neighbors 197 and 211 is 211-199=12.

PROGRAM

(PARI) default(realprecision, 20); default(primelimit, 436270000); { apt(m)= local(dl, dr, q, qm); qm=1.0; for(n=2, m, dl=prime(n)-prime(n-1); dr=prime(n+1)-prime(n); q=min(dl, dr)/max(dl, dr)+0.; if(q<qm, qm=q; print(dl" "dr" "max(dl, dr)" "q" "prime(n)" "n-1))); }

CROSSREFS

Cf. A084105.

Sequence in context: A056592 A091719 A054588 this_sequence A128660 A050859 A065196

Adjacent sequences: A084103 A084104 A084105 this_sequence A084107 A084108 A084109

KEYWORD

nonn

AUTHOR

Hugo Pfoertner (hugo(AT)pfoertner.org), May 29 2003

EXTENSIONS

More terms from Don Reble (djr(AT)nk.ca) and Jason Earls (zevi_35711(AT)yahoo.com), May 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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research