OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A153343(n) + 1. - Peter Bala, Jan 25 2017
EXAMPLE
Distribution of the even terms in the following triangular array:
2;
*, *;
*, *, 10;
*, *, *, *;
*, *, *, 20, *;
8, *, *, *, *, 34;
*, *, *, *, *, *, *;
*, *, 24, *, *, *, *, 58;
*, *, *, *, 42, *, *, *, *;
*, *, *, 38, *, *, *, *, 80, *;
14, *, *, *, *, 60, *, *, *, *, 106;
etc., where * marks the noninteger values of (4*h*k + 2*k + 2*h + 2)/5 with h >= k >= 1. - Vincenzo Librandi, Jan 15 2013
MAPLE
# produces the sequence apart from the initial terms 1 and 2
for n from 0 to 100 do
if irem(factorial(5*n), 5*n+4) = 0 then print(n+1); end if;
end do: # Peter Bala, Jan 25 2017
MATHEMATICA
Select[Range[1, 200], !PrimeQ[5 # - 1] &] (* Vincenzo Librandi, Oct 11 2012 *)
PROG
(Magma) [n: n in [1..100] | not IsPrime(5*n-1)]; // Vincenzo Librandi, Oct 11 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 03 2009
EXTENSIONS
First 29 replaced with 20, 4 replaced with 44, extended by R. J. Mathar, Jan 05 2009
Erroneous comment deleted by N. J. A. Sloane, Jun 23 2010
STATUS
approved