login
A126802
Numbers n =d1+10d2+100d3+...+10^p dp such that "prime(1)*d1+prime(2)*d2+...+prime(p)*dp" is prime.
1
1, 10, 11, 12, 14, 15, 17, 18, 31, 32, 34, 35, 37, 51, 52, 54, 57, 58, 71, 74, 75, 78, 91, 92, 95, 97, 98, 100, 101, 103, 104, 106, 107, 109, 120, 121, 123, 124, 126, 129, 140, 141, 143, 146, 147, 160, 163, 164, 167, 169, 180, 181, 184, 186, 187, 189, 210, 212, 213
OFFSET
1,2
COMMENTS
Numbers n such that A263042(n) is prime. - Robert Israel, May 07 2020
LINKS
FORMULA
For example 387 gives 7*2+8*3+3*5=53, a prime.
MAPLE
filter:= proc(n) local L, i;
L:= convert(n, base, 10);
isprime(add(L[i]*P[i], i=1..nops(L)));
end proc:
select(filter, [$1..100]); # Robert Israel, May 07 2020
CROSSREFS
Cf A263042. Includes A011557.
Sequence in context: A058948 A108584 A098605 * A075775 A262393 A031089
KEYWORD
nonn,base
AUTHOR
Yalcin Aktar, Feb 21 2007
STATUS
approved