login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A116222 Numbers n such that n+(n+1) is prime and sum of the prime factors of n and n+1 is also prime. 0
1, 2, 3, 9, 14, 20, 21, 30, 36, 41, 51, 68, 78, 83, 95, 99, 113, 131, 134, 135, 138, 153, 158, 209, 216, 249, 285, 299, 300, 303, 315, 320, 326, 350, 366, 375, 378, 413, 443, 453, 455, 468, 483, 488, 495, 498, 510, 543, 545, 615, 618, 645, 699, 713, 741, 771 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
83+84 = 167 is prime, 83 is prime, 84 = 2^2*3*7. 83+2+2+3+7 = 97 is prime, hence 83 is a term.
95+96 = 191 is prime. 95 = 5*19; 96 = 2^5*3. 5+19+2+2+2+2+2+3 = 37 is prime, hence 95 is a term.
PROG
(Magma) [1] cat [ n: n in [2..700] | IsPrime(2*n+1) and IsPrime(&+[ &+[ k[1]*k[2]: k in Factorization(h) ]: h in [n, n+1] ] ) ]; /* Klaus Brockhaus, Apr 17 2007 */
CROSSREFS
Sequence in context: A225792 A057293 A109662 * A338234 A048038 A113501
KEYWORD
nonn
AUTHOR
J. M. Bergot, Apr 16 2007
EXTENSIONS
Edited, corrected and extended by Klaus Brockhaus, Apr 17 2007
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 00:00 EDT 2024. Contains 371696 sequences. (Running on oeis4.)