A248009 Partition of the positive odd integers into minimal blocks such that the concatenation of the numbers in each block is an evil number (A001969). Sequence lists the evil numbers obtained in this way.
135, 7911, 131517, 19212325272931, 33, 35373941, 43, 45, 4749, 51, 53, 5557, 596163, 65, 676971, 737577, 798183, 85, 8789, 9193, 95, 9799101103105, 107109, 111, 113, 115117119, 121123125127129, 131133, 135, 137139, 141, 143145147, 149, 151153155157, 159
Offset: 1
Examples
a(1)=135, since 1 and 13 are odious numbers, while 135 is evil.
Links
- Peter J. C. Moses, Table of n, a(n) for n = 1..1000
Programs
-
PARI
lista(nn) = {s = ""; forstep(n=1, nn, 2, ns = concat(s, Str(n)); if ((hammingweight(eval(ns)) % 2) == 0, print1(ns, ", "); s = "", s = ns););} \\ Michel Marcus, Oct 09 2014
Extensions
More terms from Peter J. C. Moses, Oct 09 2014
Comments