cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A240983 Integers of the form 2^p*p^2 where p is the lesser of a pair of twin primes.

This page as a plain text file.
%I A240983 #36 Sep 14 2014 21:12:11
%S A240983 72,800,247808,37879808,451508436992,3696558092582912,
%T A240983 2006659878768217161728,11902724720072940761120768,
%U A240983 25862607545856336249335738796081152,1857706460417663797470176639788777472,3270020989306416138620967939526071071138643968
%N A240983 Integers of the form 2^p*p^2 where p is the lesser of a pair of twin primes.
%C A240983 Subsequence of A071837.
%H A240983 Chai Wah Wu, <a href="/A240983/b240983.txt">Table of n, a(n) for n = 1..86</a>
%F A240983 a(n) = 2^p*p^2, with p=A001359(n).
%F A240983 a(n) = A007758(A001359(n)). - _Michel Marcus_, Aug 21 2014
%e A240983 a(1)=2^3*3^2=72=A071837(3), a(4)=2^17*17^2=37879808=A071837(10).
%o A240983 (PARI) forprime(p=3,100,isprime(2+p) && print1(p","))
%o A240983 (Python)
%o A240983 from sympy import prime, isprime
%o A240983 A240983 = [2**p*p*p for p in (prime(n) for n in range(1,2*10**3)) if isprime(p+2)] # _Chai Wah Wu_, Aug 27 2014
%Y A240983 Cf. A001359, A071837.
%K A240983 nonn
%O A240983 1,1
%A A240983 _Zak Seidov_, Aug 21 2014
%E A240983 More terms from _Chai Wah Wu_, Aug 27 2014