login
A144833
Lucas numbers with an equal number of odd and even digits.
2
18, 29, 47, 76, 1364, 271443, 710647, 12752043, 20633239, 33385282, 54018521, 2537720636, 62113250390418, 1803423556807921, 221806434537978679, 667714778405043259651218, 31368381450514812615027603
OFFSET
1,1
LINKS
EXAMPLE
54018521 is a Lucas number with an equal number of odd and even digits.
MATHEMATICA
fQ[n_] := Block[{id = IntegerDigits@ n}, Length@ Select[id, OddQ@ # &] == Length@ id/2]; lst = {}; Do[ lu = LucasL@ n; If[ fQ@ lu, AppendTo[lst, lu]], {n, 300}]; lst (* Robert G. Wilson v, Sep 24 2008 *)
Select[LucasL[Range[150]], Count[IntegerDigits[#], _?OddQ] == Count[ IntegerDigits[ #], _?EvenQ]&] (* Harvey P. Dale, Dec 21 2016 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Sep 22 2008
EXTENSIONS
More terms from Robert G. Wilson v, Sep 24 2008
STATUS
approved