login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A261617 Numbers n such that n!!! + 3^n is prime. 0

%I #27 Sep 21 2015 20:39:21

%S 0,2,16,17,20,22,28,31,37,40,53,65,71,73,82,124,130,187,203,266,308,

%T 326,386,502,662,1919,3136,3229,4640,8113,8659,12307,20972,26408,49391

%N Numbers n such that n!!! + 3^n is prime.

%C n!!! is the triple factorial sometimes written n!3.

%C a(36) > 50000.

%e 2 is in the sequence because 2!!!+3^2 = 2+9 = 11 is prime.

%t MultiFactorial[n_, k_] := If[n < 1, 1, If[n < k + 1, n, n*MultiFactorial[n - k, k]]];

%t Select[Range[0, 50000], PrimeQ[MultiFactorial[#, 3] + 3^#] &]

%Y Cf. A007661, A124248, A124249, A261316.

%K nonn

%O 1,2

%A _Robert Price_, Sep 09 2015

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 5 21:49 EDT 2024. Contains 372290 sequences. (Running on oeis4.)