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!)
A108065 Numbers n such that DENEAT(n!) is prime, where DENEAT(n) = concatenate number of even digits in n, number of odd digits and total number of digits. 1
1, 2, 3, 10, 15, 29, 35, 39, 51, 65, 167, 185, 198, 250, 282, 325, 366, 368, 382, 396, 400, 403, 450, 453, 509, 574, 575, 590, 598, 601, 699, 720, 759, 764, 788, 791, 797, 817, 824, 860, 863, 865, 867, 877, 901, 909, 911, 913, 930, 936, 1066, 1068, 1081, 1145 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
10 is in the sequence because 10! = 3628800 has 6 even digits, 1
odd digit and 7 total digits, yielding the prime 617.
MATHEMATICA
eotQ[n_]:=Module[{idnf=IntegerDigits[n!], len, ev, od}, len=Length[idnf]; ev= Count[ idnf, _?EvenQ]; od=Count[idnf, _?OddQ]; PrimeQ[FromDigits[ Flatten[ IntegerDigits/@ Join[{ev, od, len}]]]]]; Select[Range[1200], eotQ] (* Harvey P. Dale, Jul 05 2017 *)
CROSSREFS
Cf. A073053.
Sequence in context: A348475 A075770 A135101 * A187767 A226881 A369781
KEYWORD
base,nonn
AUTHOR
Jason Earls, Jun 03 2005
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 March 29 00:26 EDT 2024. Contains 371264 sequences. (Running on oeis4.)