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!)
A180233 The sequence gives prime numbers formed from the sum of the squares of composite numbers and the corresponding prime numbers. 0
157, 353, 431, 619, 967, 1871, 2243, 4567, 5417, 7001, 11633, 18503, 24359, 24989, 26927, 29633, 34667, 35419, 39293, 40883, 47653, 52127, 73121, 74201, 83219, 89087, 98911, 110569, 114617, 118717, 124301, 144883, 155747, 158927, 163741 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
Add the square of first composite (4*4) and first prime (2) = 18; add the square of the second composite (6*6) and second prime (3) = 39 - and so forth. First prime found is 157 = A002808(6)^2 + A000040(6) = 12^2 + 13. - Leonard Galitz, Jun 15 2013
PROG
(REX) keep(add(square(composite(1, 100)), prime(1, 100)), isprime) - Leonard Galitz
(PARI) lista(nn) = {for (n = 1, nn, if (isprime(p = A002808(n)^2 + prime(n)), print1(p, ", ")); ); } \\ Michel Marcus, Jun 15 2013
CROSSREFS
Sequence in context: A234364 A060974 A073277 * A096708 A142833 A142478
KEYWORD
nonn
AUTHOR
Leonard Galitz (grovehall1938(AT)comcast.net), Aug 18 2010
EXTENSIONS
More terms from Michel Marcus, Jun 15 2013
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 18 18:49 EDT 2024. Contains 371781 sequences. (Running on oeis4.)