Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A152076
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A152076 a(n) = the largest prime p < p(n) such that p(n) - p is squarefree, where p(n) is the nth prime. a(n) = 0 if no such prime p exists. +0
3
2, 3, 5, 5, 11, 11, 17, 17, 23, 29, 31, 31, 41, 41, 47, 53, 59, 61, 61, 71, 73, 73, 83, 83, 79, 101, 101, 107, 107, 113, 109, 131, 137, 139, 149, 151, 157, 157, 167, 173, 179, 181, 191, 191, 197, 197, 197, 197, 227, 227, 233, 239, 241, 251, 257, 263, 269, 271, 271 (list; graph; listen)
OFFSET

2,1

COMMENT

Does every odd prime differ from some smaller prime by a squarefree integer? Or is there at least one term of this sequence equal to 0?

Indices for which a(n)<a(n-1) are n = 26, 32, 64, 79, 89, 92, 98, 100, 123, 127, 129, 133, 136, 148, 152, 159, 164, 169, 181, 193,... [From M. F. Hasler (MHasler(AT)univ-ag.fr), Nov 23 2008]

LINKS

Leroy Quet, Home Page (listed in lieu of email address)

PROGRAM

(PARI) A152076(n) = { local(q=n=prime(n)); while( q=precprime(q-1), issquarefree(n-q) & return(q))} [From M. F. Hasler (MHasler(AT)univ-ag.fr), Nov 23 2008]

CROSSREFS

Cf. A152075, A152073.

Sequence in context: A066911 A071850 A092749 this_sequence A138181 A133278 A050368

Adjacent sequences: A152073 A152074 A152075 this_sequence A152077 A152078 A152079

KEYWORD

nonn

AUTHOR

Leroy Quet Nov 23 2008

EXTENSIONS

Terms beyond a(13) from M. F. Hasler (MHasler(AT)univ-ag.fr) and Ray Chandler (rayjchandler(AT)sbcglobal.net), Nov 23 2008

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research