Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A105525
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A105525 Smallest prime forming a product of n distinct primes when a 1 is appended to it. +0
2
3, 2, 23, 821, 14387, 131231, 4976687, 87200213, 6746125577, 121926946241, 5509396663871, 254605525405331, 12690278491719929, 565269607109838731, 32485826999091637271, 2154833052882128071553, 156066104202356713394129 (list; graph; listen)
OFFSET

1,1

EXAMPLE

We have a(2)=2 because 2 is the first prime ahead of 5,11,29,37,... each becoming a product of two distinct primes with an appended 1.

PROGRAM

(PARI) {r(n, p, d)=local(q); if(d==0, if(n%10==1 && isprime(n\10) && n<m, m=n); return); q=nextprime(p+1); while(n*q^d<m, r(n*q, q, d-1); q=nextprime(q+1))} {A105526(d) = M=2^16; while(1, m=M; r(1, 2, d); if(m!=M, return(m\10)); M*=2)} (Alekseyev)

CROSSREFS

Cf. A105526.

Sequence in context: A018872 A151429 A151475 this_sequence A165714 A090883 A100645

Adjacent sequences: A105522 A105523 A105524 this_sequence A105526 A105527 A105528

KEYWORD

nonn,base

AUTHOR

Lekraj Beedassy (blekraj(AT)yahoo.com), Apr 11 2005

EXTENSIONS

a(5)-a(8) from Ray Chandler (rayjchandler(AT)sbcglobal.net), Apr 16 2005

More terms from Max Alekseyev (maxale(AT)gmail.com), Apr 28 2005

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 8 08:31 EST 2009. Contains 170430 sequences.


AT&T Labs Research