Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A145338
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A145338 a(n) = the smallest prime p where |d(p-1) - d(p+1)| = n. (d(m) = the number of divisors of m.) +0
2
7, 2, 11, 197, 23, 37, 47, 401, 59, 1601, 181, 16901, 167, 3137, 179, 577, 419, 1297, 1051, 12101, 359, 739601, 1009, 4357, 1511, 50177, 719, 171610001, 839, 67601, 10657, 9096257, 1439, 240101, 3697, 145540097, 3023, 15877, 2879, 3587237, 2521 (list; graph; listen)
OFFSET

0,1

COMMENT

a(2n-1) = k^2 + 1, for all positive integers n, where k is some integer; k is even for n>=2.

LINKS

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

EXAMPLE

a(2)=11 because abs(d(10)-d(12))=2 while abs(d(p-1)-d(p+1))<2 for p=2,3,5 and 7. [From Emeric Deutsch (deutsch(AT)duke.poly.edu), Oct 11 2008]

MAPLE

with(numtheory); a:=proc(n) local j: for j while abs(tau(ithprime(j)-1)-tau(ithprime(j)+1)) <> n do end do: ithprime(j) end proc: seq(a(n), n=0..26); [From Emeric Deutsch (deutsch(AT)duke.poly.edu), Oct 11 2008]

CROSSREFS

A145337

Sequence in context: A021141 A147677 A090243 this_sequence A104586 A040048 A070429

Adjacent sequences: A145335 A145336 A145337 this_sequence A145339 A145340 A145341

KEYWORD

nonn

AUTHOR

Leroy Quet Oct 08 2008

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl) and Emeric Deutsch (deutsch(AT)duke.poly.edu), Oct 10 2008

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Oct 12 2008 from a(27) onwards

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 00:48 EST 2009. Contains 170565 sequences.


AT&T Labs Research