OFFSET
1,2
COMMENTS
One more than the associated value in A153309. - R. J. Mathar, Jan 05 2011
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) ~ n. - Charles R Greathouse IV, Oct 26 2015
EXAMPLE
Distribution of the odd terms > a(1) in the following triangular array:
*;
*,9;
*,*,17;
*,*,*,*;
*,19,*,*,41;
*,*,31,*,*,57;
*,*,*,*,*,*,*;
*,29,*,*,63,*,*,97;
*,*,45,*,*,83,*,*,121;
*,*, *,*,*,*, *,*, *, *;
*,39,*,*,85,*,*,131,*,*,177;
*,*,59,*,*,109,*,*,159,*,*,209; etc.
where * marks the non-integer values of (4*h*k + 2*k + 2*h + 3)/3 with h >= k >= 1. - Vincenzo Librandi, Jan 17 2013
MATHEMATICA
lst={}; Do[If[ !PrimeQ[3*n-2], AppendTo[lst, n]], {n, 5!}]; lst (* Vladimir Joseph Stephan Orlovsky, Dec 22 2008 *)
Select[Range[0, 100], !PrimeQ[3 # - 2] &] (* Vincenzo Librandi, Jan 12 2013 *)
PROG
(Magma) [n: n in [0..120] | not IsPrime(3*n - 2)]; // Vincenzo Librandi, Jan 12 2013
(PARI) is(n)=!isprime(3*n-2) \\ Charles R Greathouse IV, Oct 26 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Dec 20 2008
EXTENSIONS
Erroneous comment deleted by N. J. A. Sloane, Jun 23 2010
STATUS
approved