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!)
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 (list; graph; refs; listen; history; text; internal format)
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

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 20 19:38 EDT 2024. Contains 375339 sequences. (Running on oeis4.)