|
|
A323083
|
|
k-digit numbers whose digit(s) are the number of distinct prime factors in each of the following k integers.
|
|
3
|
|
|
0, 1, 12, 21, 22422, 24223, 33333, 34441524, 4242436235, 23443535352, 34462443242, 35256523324, 4341535435353, 4645441523344, 5244526446515, 5335524234335
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
21 is a term because 21 is a 2-digit number and its digits (2,1) are the number of distinct prime factors in each of the following 2 integers; i.e., 22 = 2*11 (two distinct prime factors) and 23 = 23 (one distinct prime factor), therefore (2,1) -> 21.
|
|
PROG
|
(PARI) isok(m) = {my(d=digits(m)); for (i=1, #d, if (d[i] != omega(m+i), return(0)); ); return (1); } \\ Michel Marcus, Oct 11 2021
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|