login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A186782 Primes of the form k*6^m-1 with k prime and m an integer. 2
2, 11, 17, 29, 41, 71, 101, 107, 113, 137, 173, 179, 251, 257, 281, 317, 353, 401, 431, 467, 617, 641, 647, 653, 677, 683, 761, 821, 827, 941, 977, 1181, 1193, 1361, 1373, 1433, 1511, 1613, 1697, 1877, 1901, 1907, 2081, 2153, 2237, 2273, 2297, 2333, 2381, 2411, 2591 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Companion sequence to A185069.

LINKS

Table of n, a(n) for n=1..51.

EXAMPLE

5*6^1-1 = 29 is prime and therefore a term.

7*6^2-1 = 251 is prime and therefore a term.

17*6^13-1 = 222031798271 is prime and therefore a term (see also its companion in A185069).

MATHEMATICA

maxM = 4; p = Prime[Range[PrimePi[2*6^maxM]]]; Sort[Flatten[Table[Select[p + 1, PrimeQ[#/6^k] &], {k, 0, maxM}] - 1]] (* T. D. Noe, Feb 28 2011 *)

PROG

(MAGMA) IsA186782:=function(n); k:=n+1; while k mod 6 eq 0 do k:=(k div 6); end while; return IsPrime(k); end function; [ n: n in PrimesUpTo(3000) | IsA186782(n) ]; // Klaus Brockhaus, Mar 01 2011

CROSSREFS

Cf. A185069.

Sequence in context: A214934 A233866 A117155 * A141176 A118839 A091735

Adjacent sequences:  A186779 A186780 A186781 * A186783 A186784 A186785

KEYWORD

nonn

AUTHOR

Gilbert Mozzo, Feb 26 2011

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 23 03:02 EST 2021. Contains 340384 sequences. (Running on oeis4.)