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.
%I A182374 #9 Jun 01 2013 17:45:24 %S A182374 19,52489,59296646043258913,3140085798164163223281069127, %T A182374 281013956365219695455558985684629594690518822413326510467 %N A182374 Primes of the form n*3^n + 1. %C A182374 Similar to A060353, and to the Woodall primes A050918. %e A182374 19 = 2*3^2 + 1; 52489 = 8*3^8 + 1; a(3) = 32*3^32 + 1; a(4) = 54*3^54 + 1. %p A182374 #choose N large, then S is the desired set %p A182374 f:=n->n*3^n + 1: %p A182374 S:={}: %p A182374 for n from 0 to N do if(isprime(f(n))) then S:=S union {f(n)}: fi: od %t A182374 Select[Table[n*3^n + 1, {n, 0, 580}], PrimeQ] (* _Jayanta Basu_, Jun 01 2013 *) %Y A182374 Cf. A060353, A050918. %K A182374 nonn %O A182374 1,1 %A A182374 _Patrick Devlin_, Apr 26 2012