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.

Showing 1-3 of 3 results.

A255430 Natural numbers n, not multiples of 10, such that n and n^2 lack the digit 1 in their decimal expansions.

Original entry on oeis.org

2, 3, 5, 6, 7, 8, 22, 23, 24, 25, 26, 27, 28, 45, 47, 48, 52, 53, 55, 57, 58, 62, 63, 64, 65, 66, 67, 68, 73, 74, 75, 76, 77, 78, 82, 83, 84, 85, 86, 87, 88, 92, 93, 94, 95, 97, 98, 202, 205, 206, 207, 208, 222, 223, 225, 232, 233, 234, 235, 236, 238, 242, 243, 244, 245, 252, 253, 255
Offset: 1

Views

Author

Zak Seidov, Feb 23 2015

Keywords

Comments

No trailing zeros allowed.

Crossrefs

A255357 Natural numbers n, other than multiples of 10, such that n, n^2 and n^3 lack the digit 1 in their decimal expansion.

Original entry on oeis.org

2, 3, 7, 62, 63, 65, 66, 67, 74, 76, 77, 78, 84, 86, 87, 92, 93, 94, 95, 202, 207, 274, 275, 282, 284, 287, 288, 292, 295, 298, 305, 307, 452, 453, 457, 587, 588, 592, 594, 607, 624, 632, 635, 636, 637, 638, 653, 664, 665, 666, 667, 668, 675, 686, 688, 695, 697, 698, 702, 703, 705, 707
Offset: 1

Views

Author

Zak Seidov, Feb 23 2015

Keywords

Examples

			Numbers {2, 3, 7, 62, 63}, their squares {4, 9, 49, 3844, 3969} and cubes {8, 27, 343, 238328, 250047} all are "one-less".
		

Crossrefs

Programs

  • Maple
    filter:= proc(n) local L,i;
      for i from 1 to 3 do
        L:= convert(n^i,base,10);
        if member(1,L) then return false fi;
      od;
      true
    end proc:
    select(filter, [seq(seq(10*i+j, j=2..8),i=0..100)]); # Robert Israel, Apr 03 2024
  • Mathematica
    Select[Range[800],NumberDigit[#,0]!=0&&FreeQ[Flatten[ IntegerDigits/@ {#,#^2,#^3}],1]&] (* Harvey P. Dale, Sep 24 2021 *)

Extensions

Definition modified by Harvey P. Dale, Sep 24 2021

A255431 Numbers n such that integers n through n+6 and their squares all lack the digit 1 in their decimal expansion.

Original entry on oeis.org

22, 62, 82, 472, 522, 662, 822, 832, 932, 972, 2362, 2382, 2522, 2562, 2632, 2972, 4522, 4832, 4862, 4882, 4932, 4972, 5022, 5062, 5082, 5322, 5472, 6062, 6382, 6632, 6662, 6782, 6972, 7022, 7382, 7432, 7472, 7632, 8322, 8332, 8362, 8672, 8882
Offset: 1

Views

Author

Zak Seidov, Feb 23 2015

Keywords

Comments

Integers n through n+6 are terms in A255430.
All terms are congruent to 2 mod 10.

Examples

			22,23,24,25,26,27,28 and their squares 484,529,576,625,676,729,784 are "one-less".
		

Crossrefs

Showing 1-3 of 3 results.