OFFSET
1,2
COMMENTS
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
EXAMPLE
The first 7 rows:
1
1 1
3 1 1 1
4 3 1 1 1 1 1
4 1 3 1 1 1 1 1 1 1
4 1 1 3 3 3 1 1 1 1 1 1 1 1 1
7 4 3 4 1 1 1 3 3 1 3 1 1 1 1 1 1 1 1 1 1 1
The first 7 rows represent these partitions:
1
11
3, 111
4, 31, 1111
41, 311, 11111
411, 33, 3111, 111111
7, 43, 431, 41111, 3311, 311111, 1111111
MATHEMATICA
LucasQ[n_] := IntegerQ[Sqrt[5 n^2 + 20]] || IntegerQ[Sqrt[5 n^2 - 20]];
Attributes[LucasQ] = {Listable}; TableForm[t = Map[Select[IntegerPartitions[#], And @@ LucasQ[#] &] &, Range[0, 12]]] (* A239512, partitions *)
Flatten[t] (* A067592 *)
(* Peter J. C. Moses, Mar 24 2014 *)
CROSSREFS
KEYWORD
nonn,tabf,easy
AUTHOR
Clark Kimberling, Mar 25 2014
STATUS
approved