Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A105403
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A105403 Numbers n such that prime(n)-1 and prime(n+1)-1 have the same largest prime factor. +0
1
2, 30, 53, 217 (list; graph; listen)
OFFSET

1,1

COMMENT

The PARI program below is a generalization of this type of sequence. These numbers are rare. Are they finite? Proof?

No more terms between 217 and 3090000. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 14 2008

No more terms < 5760000. - David Wasserman (dwasserm(AT)earthlink.net), May 02 2008

FORMULA

{i: A023503(i) = A023503(i+1)}. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 14 2008

EXAMPLE

The prime factors of prime(217)-1 = 2, 3, 13, 17. The prime factors of prime(218)-1 = 2, 2, 2, 2, 5, 17 and 17 is the same largest factor.

PROGRAM

(PARI) \prime indices such that gd of prime(x)+ k and prime(x+m) + k are equal divpm1(n, m, k) = { local(x, l1, l2, v1, v2); for(x=2, n, v1 = ifactor(prime(x)+ k); v2 = ifactor(prime(x+m)+k); l1 = length(v1); l2 = length(v2); if(v1[l1] == v2[l2], print1(x", ") ) ) } ifactor(n) = \Vector of the prime factors of n { local(f, j, k, flist); flist=[]; f=Vec(factor(n)); for(j=1, length(f[1]), for(k = 1, f[2][j], flist = concat(flist, f[1][j]) ); ); return(flist) }

CROSSREFS

Sequence in context: A113695 A098827 A078208 this_sequence A134644 A085637 A157870

Adjacent sequences: A105400 A105401 A105402 this_sequence A105404 A105405 A105406

KEYWORD

hard,more,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), May 01 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 17 19:39 EST 2009. Contains 170821 sequences.


AT&T Labs Research