OFFSET
1,1
COMMENTS
LINKS
David W. Wilson, Table of n, a(n) for n = 1..1000
D. E. Iannucci, When the small divisors of a natural number are in arithmetic progression, INTEGERS, Electronic Journal of Combinatorial Number Theory, #77, 2018. See p. 9.
MATHEMATICA
p = Select[Prime[Range[155]], PrimeQ[2# - 1] &]; p (2p - 1) (* Robert G. Wilson v, Sep 11 2011 *)
PROG
(Magma) [2*n^2-n: n in [0..1000]|IsPrime(n) and IsPrime(2*n-1)]; // Vincenzo Librandi, Dec 27 2010
(PARI) forprime(p=2, 10000, q=2*p-1; if(isprime(q), print1(p*q, ", ")))
(Haskell)
a129521 n = p * (2 * p - 1) where p = a005382 n
-- Reinhard Zumkeller, Nov 10 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 19 2007
STATUS
approved