Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A107317
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A107317 Semiprimes of the form 2*(m^2+m+1) (implying that m^2+m+1 is a prime). +0
1
6, 14, 26, 62, 86, 146, 314, 422, 482, 614, 842, 926, 1202, 1514, 2246, 2966, 3446, 5102, 5942, 6614, 7082, 7814, 8846, 9662, 10226, 11402, 12014, 12326, 12962, 16022, 16382, 19802, 20606, 22262, 24422, 24866, 27614, 28562, 34586, 38366, 40046 (list; graph; listen)
OFFSET

1,1

COMMENT

Also semiprimes n such that 2*n - 3 is a square. - Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), Dec 29 2005. This coincidence was noticed by Andrew Plewe. Proof that this is the same sequence: If X is n^2+(n+1)^2+1, then 2X-3 is 4n^2+4n+1 = (2n+1)^2. And if 2X-3 is a square, then since it's odd, 2X-3 = (2n+1)^2 and X = n^2+(n+1)^2+1. - Don Reble, Apr 18 2007

FORMULA

2*A002383 = 2*(A002384^2+A002384+1).

EXAMPLE

a(1)=6 because 1^2 + 2^2 + 1 = 6 = 2*3;

a(2)=14 because 2^2 + 3^2 + 1 = 14 = 2*7;

a(3)=26 because 3^2 + 4^2 + 1 = 26 = 13*2.

MATHEMATICA

2(#^2 + # + 1) & /@ Select[ Range[144], PrimeQ[ #^2 + # + 1] &] (from Robert G. Wilson v (rgwv(AT)rgwv.com), May 28 2005)

fQ[n_] := Plus @@ Last /@ FactorInteger@n == 2 && IntegerQ@Sqrt[2n - 3]; Select[ Range@43513, fQ[ # ] &] (* Robert G. Wilson v *)

PROGRAM

(PARI) for(n=2, 100000, if(bigomega(n)==2&&issquare(2*n-3), print1(n, ", "))) (Lambert Herrgesell)

CROSSREFS

Cf. A002383, A002384.

Adjacent sequences: A107314 A107315 A107316 this_sequence A107318 A107319 A107320

Sequence in context: A026055 A131951 A093776 this_sequence A071776 A063590 A128806

KEYWORD

easy,nonn

AUTHOR

Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), May 21 2005

EXTENSIONS

Edited by Robert G. Wilson v (rgwv(AT)rgwv.com), May 28 2005

Re-edited by njas, Apr 18 2007

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 January 8 02:43 EST 2009. Contains 152824 sequences.


AT&T Labs Research