OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) ~ 16n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
lst={}; Do[If[Mod[n, 48]==1, If[PrimeQ[n], AppendTo[lst, n]]], {n, 8!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jun 20 2009 *)
Select[Prime[Range[1000]], MemberQ[{1}, Mod[#, 48]] &] (* Vincenzo Librandi, Aug 27 2012 *)
Select[Range[1, 6000, 48], PrimeQ] (* Harvey P. Dale, Feb 24 2023 *)
PROG
(Magma) [p: p in PrimesUpTo(6000) | p mod 48 eq 1]; // Vincenzo Librandi, Aug 27 2012
(PARI) is(n)=isprime(n) && n%48==1 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved