OFFSET
0,1
FORMULA
MATHEMATICA
FromDigits[Flatten[IntegerDigits/@(IntegerDigits[#]^2)]]&/@LucasL[ Range[ 0, 40]] (* Harvey P. Dale, Oct 01 2021 *)
PROG
(Magma) [StringToInteger(&cat[IntegerToString(h): h in Reverse([i^2: i in Intseq(Lucas(n))])]): n in [0..35]];
(Python)
from sympy import lucas
def a(n): return int("".join(str(int(d)**2) for d in str(lucas(n))))
print([a(n) for n in range(32)]) # Michael S. Branicky, Apr 01 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Jul 06 2014
STATUS
approved