Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A056752
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A056752 Distance from n! to nearest prime. +0
3
1, 0, 1, 1, 7, 1, 1, 23, 13, 11, 1, 1, 23, 1, 43, 23, 31, 37, 89, 29, 31, 31, 89, 73, 41, 37, 1, 67, 31, 1, 61, 1, 1, 97, 61, 127, 1, 1, 73, 53, 1, 79, 71, 47, 53, 89, 79, 53, 59, 61, 179, 53, 59, 127, 61, 149, 107, 109, 137, 139, 71, 71, 101, 67, 127, 283, 73, 83, 103, 97 (list; graph; listen)
OFFSET

1,5

EXAMPLE

For n=1 and 2 the nearest prime neighbors are 2 and 2, with distances 1 and 0. Closest primes around 8! are 40289 and 40343 with 31 and 23 distances so a(8)=23

MAPLE

with(numtheory): [seq(min(nextprime(i!)-i!, i!-prevprime(i!)), i=3..100)]; # a(1) and a(2) computed individually

CROSSREFS

Essentially the same as A053714.

Adjacent sequences: A056749 A056750 A056751 this_sequence A056753 A056754 A056755

Sequence in context: A141597 A119727 A046739 this_sequence A053714 A033933 A108267

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Jan 19 2001

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 October 12 15:26 EDT 2008. Contains 144830 sequences.


AT&T Labs Research