login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A321128 Single-digit numbers in the order in which they first appear in the decimal expansions of prime numbers, followed by the two-digit numbers in the order in which they appear, then the three-digit numbers, and so on. 3
2, 3, 5, 7, 1, 9, 4, 6, 8, 0, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 10, 12, 27, 39, 14, 49, 15, 51, 57, 16, 63, 18, 81, 91, 93, 99, 21, 22, 33, 24, 25, 26, 69, 77, 28, 30, 34, 35, 36, 38, 40, 42, 44, 45, 46, 48, 87 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This sequence is a variant of A321043.
This sequence establishes a bijection from the positive integers to the nonnegative integers; see A320938 for the inverse.
Prime numbers appear in increasing order.
LINKS
EXAMPLE
The first terms, alongside the corresponding prime numbers, are:
n a(n) Prime
-- ---- -----
1 2 2
2 3 3
3 5 5
4 7 7
5 1 11
6 9 19
7 4 41
8 6 61
9 8 83
10 0 101
11 11 11
12 13 13
...
30 89 89
31 97 97
32 10 101
33 12 127
34 27 127
35 39 139
36 14 149
37 49 149
PROG
(PARI) See Links section.
CROSSREFS
Cf. A000010, A000040, A320938 (inverse), A321043.
Sequence in context: A101987 A178743 A126052 * A130138 A171855 A130136
KEYWORD
nonn,base,look
AUTHOR
Rémy Sigrist, Oct 27 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 28 16:44 EDT 2024. Contains 375508 sequences. (Running on oeis4.)