A271220 Concatenate sum of digits of previous term and product of digits of previous term, starting with 6.
6, 66, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236, 1236
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (1).
Crossrefs
Programs
-
Mathematica
NestList[FromDigits[Flatten@ {IntegerDigits@ Total@ #, IntegerDigits@ If[Length@ # == 1, #, Times @@ #]}] &@ IntegerDigits@ # &, 6, 50] (* Michael De Vlieger, Apr 02 2016 *)
-
PARI
A380872_row(6) \\ M. F. Hasler, Apr 02 2025
Formula
a(n) = 1236 for all n > 2. - M. F. Hasler, Apr 02 2025
Extensions
Offset changed to 0 by M. F. Hasler, Apr 02 2025
Comments