login
A224467
Numbers n such that 27*n+1 is prime.
2
4, 6, 10, 14, 16, 18, 20, 28, 30, 34, 48, 54, 58, 60, 66, 74, 76, 80, 84, 88, 94, 96, 98, 108, 110, 114, 118, 128, 130, 136, 138, 144, 146, 150, 154, 166, 170, 180, 184, 186, 188, 198, 206, 214, 230, 236, 238, 240, 258, 264, 268, 278, 280, 284, 286, 296, 300
OFFSET
1,1
LINKS
EXAMPLE
27*6 + 1 = 163 which is prime. Hence 6 is in the sequence.
MAPLE
isA224467 := proc(n)
isprime(27*n+1) ;
end proc:
for n from 1 to 300 do
if isA224467(n) then
printf("%d, ", n) ;
end if;
end do: # R. J. Mathar, Jul 20 2013
MATHEMATICA
Select[Range[300], PrimeQ[27#+1]&] (* Harvey P. Dale, Apr 14 2017 *)
PROG
(PARI) is(n)=isprime(27*n+1) \\ Charles R Greathouse IV, Jun 06 2017
CROSSREFS
Sequence in context: A300912 A175706 A110507 * A134624 A171945 A310583
KEYWORD
nonn,easy
AUTHOR
K. D. Bajpai, Jul 20 2013
STATUS
approved