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.

A030146 Squares-of-primes in which no two adjacent digits have the same parity.

Original entry on oeis.org

4, 9, 25, 49, 121, 169, 361, 529, 961, 12769, 16129, 18769, 32761, 72361, 76729, 78961, 96721, 212521, 214369, 436921, 452929, 458329, 1038361, 1630729, 1852321, 3892729, 5230369, 5470921, 5650129, 5812921, 5870929, 7230721
Offset: 1

Views

Author

Keywords

Comments

Intersection of A030141 and A001248. - Michel Marcus, Feb 06 2015

Crossrefs

Programs

  • Mathematica
    Join[{4,9},Select[Prime[Range[4000]]^2,Union[Sort/@OddQ/@Partition[IntegerDigits[#],2,1]]=={{False,True}}&]] (* Harvey P. Dale, Feb 22 2011 *)

Formula

a(n) = A030145(n)^2. - Giovanni Resta, Aug 16 2018

Extensions

Definition clarified by Harvey P. Dale, Feb 23 2011
Offset changed by Michel Marcus, Feb 06 2015