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.

A104315 Numbers having in decimal representation at least one zero, but with no zero in their square.

Original entry on oeis.org

106, 107, 108, 109, 204, 206, 207, 208, 209, 304, 306, 307, 308, 309, 404, 406, 407, 408, 409, 604, 606, 607, 608, 704, 706, 707, 804, 806, 807, 808, 809, 904, 907, 908, 909, 1056, 1057, 1058, 1059, 1061, 1062, 1063, 1065, 1066, 1067, 1069, 1072, 1073
Offset: 1

Views

Author

Reinhard Zumkeller, Mar 01 2005

Keywords

Comments

A104316(n) = a(n)^2.

Examples

			909^2 = 826281, therefore 909 is a term.
		

Crossrefs

Programs

  • Haskell
    a104315 n = a104315_list !! (n-1)
    a104315_list = filter (\x -> a168046 x == 0 && a168046 (x ^ 2) == 1) [1..]
    -- Reinhard Zumkeller, Jan 03 2014
  • PARI
    isok(n) = !vecmin(digits(n)) && vecmin(digits(n^2)); \\ Michel Marcus, Jan 03 2014
    

Formula

(1 - A168046(a(n))) * A168046(A000290(a(n))) = 1. - Reinhard Zumkeller, Jan 03 2014