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.

Previous Showing 11-13 of 13 results.

A167458 Indices of numbers in A167459 which are not in A066737.

Original entry on oeis.org

24, 25, 26, 27, 53, 54, 55, 88, 89, 90, 124, 125, 126, 127, 181, 182, 183, 215, 216, 268, 269, 270, 271, 303, 304, 305, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364
Offset: 1

Views

Author

M. F. Hasler, Nov 19 2009

Keywords

Comments

Also, indices of terms in A167459 which are in A166505 (or: which are not in A152242).

Crossrefs

Programs

  • PARI
    c=0; for(n=1,9999, is_A167459(n) & c++ & !is_A152242(n) & print1(c", "))

A166498 Integers formed by concatenating squares.

Original entry on oeis.org

0, 1, 4, 9, 10, 11, 14, 16, 19, 25, 36, 40, 41, 44, 49, 64, 81, 90, 91, 94, 99, 100, 101, 104, 109, 110, 111, 114, 116, 119, 121, 125, 136, 140, 141, 144, 149, 160, 161, 164, 169, 181, 190, 191, 194, 196, 199, 225, 250, 251, 254, 256, 259, 289, 324, 360, 361
Offset: 1

Views

Author

Zak Seidov, Oct 15 2009

Keywords

Examples

			11 being the concatenation of 1 and 1, both squares, is in the sequence.
120 is not in the sequence as none of 2, 12, 20 and 120 are squares. - corrected by _Peter Munn_, Nov 17 2017
		

Crossrefs

Cf. A000290 (squares), A152242 (integers formed by concatenating primes).

Programs

  • Mathematica
    Take[FromDigits[Flatten[IntegerDigits/@#]]&/@Tuples[Range[0,20]^2,3]//Union,60] (* Harvey P. Dale, May 25 2025 *)

Extensions

Corrected and extended by Michel Marcus, Oct 16 2013
Mispositioning of example corrected by Peter Munn, Nov 17 2017

A369331 Positive numbers whose decimal expansions are covered by that of prime numbers (without leading zeros).

Original entry on oeis.org

2, 3, 5, 7, 11, 13, 17, 19, 22, 23, 25, 27, 29, 31, 32, 33, 35, 37, 41, 43, 47, 52, 53, 55, 57, 59, 61, 67, 71, 72, 73, 75, 77, 79, 83, 89, 97, 101, 103, 107, 109, 111, 112, 113, 115, 117, 119, 127, 131, 132, 133, 135, 137, 139, 149, 151, 157, 163, 167, 171
Offset: 1

Views

Author

Rémy Sigrist, Jan 20 2024

Keywords

Comments

More formally: positive numbers with decimal expansion (d_1, ..., d_w) (where d_1 <> 0) such that for any i in 1..w, we have some j, k such that j <= i <= k and d_j <> 0 and (d_j, ..., d_k) corresponds to the decimal expansion of a prime number.
This sequence contains, among others, A000040, A046034 and A152242.
This sequence first differs from A152242 for n = 42: a(42) = 111 whereas A152242(42) = 112.

Examples

			The number 15195 belongs to the sequence for the following covering:
       151
         19
           5
       .....
       15195
		

Crossrefs

Programs

  • PARI
    is(n, base = 10) = { my (d = if (n, digits(n, base), [0]), ok = vector(#d), rem = #d); for (i = 1, #d, if (d[i], for (j = i, #d, if  (isprime( fromdigits( d[i..j], base)), for (k = i, j, if (ok[k]==0, ok[k]++; rem--; if (rem==0, return (1)))))))); return (0); }
Previous Showing 11-13 of 13 results.