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!)
A153343 Numbers k such that 5*k + 4 is not prime. 7

%I #29 Sep 08 2022 08:45:39

%S 0,1,2,4,6,7,8,9,10,12,13,14,16,18,19,20,22,23,24,25,26,28,30,31,32,

%T 33,34,36,37,38,40,41,42,43,44,46,48,49,50,51,52,54,55,56,57,58,59,60,

%U 61,62,63,64,65,66,67,68,70,72,73,74,76,78,79,80,82,84,85,86,88

%N Numbers k such that 5*k + 4 is not prime.

%C Apart from a(0) = 0 and a(1) = 1 this sequence comprises those numbers k such that (5*k)!/(5*k + 4) is an integer. - _Peter Bala_, Jan 25 2017

%H Vincenzo Librandi, <a href="/A153343/b153343.txt">Table of n, a(n) for n = 1..1000</a>

%e Distribution of the odd terms in the following triangular array:

%e 1;

%e *, *;

%e *, *, 9;

%e *, *, *, *;

%e *, *, *, 19, *;

%e 7, *, *, *, *, 33;

%e *, *, *, *, *, *, *;

%e *, *, 23, *, *, *, *, 57;

%e *, *, *, *, 41, *, *, *, *;

%e *, *, *, 37, *, *, *, *, 79, *;

%e 13, *, *, *, *, 59, *, *, *, *, 105;

%e etc., where * marks the noninteger values of (4*h*k + 2*k + 2*h - 3)/5 with h >= k >= 1. - _Vincenzo Librandi_, Jan 17 2013

%p # produces the sequence apart from the initial terms 0 and 1

%p for n from 0 to 100 do

%p if irem(factorial(5*n), 5*n+4) = 0 then print(n); end if;

%p end do: # _Peter Bala_, Jan 25 2017

%t Select[Range[0, 200], !PrimeQ[5*# + 4]&] (* _Vincenzo Librandi_, Jan 12 2013 *)

%o (Magma) [n: n in [0..150] | not IsPrime(5*n + 4)]; // _Vincenzo Librandi_, Jan 12 2013

%Y Cf. A024897, A014076, A153170, A045751, A095277, A153088, A153343.

%K nonn,easy

%O 1,3

%A _Vincenzo Librandi_, Dec 24 2008

%E Erroneous comment deleted by _N. J. A. Sloane_, Jun 23 2010

%E 0 added by _Arkadiusz Wesolowski_, Aug 03 2011

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 April 25 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)