cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

Original entry on oeis.org

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

Views

Author

Vladimir Shevelev, Oct 05 2014

Keywords

Comments

The numbers of the consecutive positive odd integers in the blocks of the partition are 3,3,3,7,1,4,1,1,2,1,1,2,3,1,3,3,3,1,2,2,...

Examples

			a(1)=135, since 1 and 13 are odious numbers, while 135 is evil.
		

Crossrefs

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