Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A161786
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A161786 Primes with at least one digit appearing exactly four times in the decimal expansion. +0
4
10111, 11113, 11117, 11119, 11131, 11161, 11171, 11311, 11411, 16111, 22229, 23333, 31333, 33331, 33343, 33353, 33533, 38333, 44449, 47777, 49999, 59999, 67777, 71777, 76777, 77377, 77477, 77747, 77773, 77797, 77977, 79777, 79999, 88883, 94999, 97777 (list; graph; listen)
OFFSET

1,1

COMMENT

The sequence is probably infinite.

EXAMPLE

101117 has exactly four 1s.

MAPLE

isdgctm := proc(n, d) local dgs, a, i ; dgs := convert(n, base, 10) ; a := [seq(0, j=0..9)] ;

for i in dgs do a := subsop(i+1=op(i+1, a)+1, a) ; od: if convert(a, set) intersect {d} <> {} then true; else false; fi; end:

for n from 1 to 10000 do p := ithprime(n) ; if isdgctm(p, 4) then printf("%d, ", p) ; fi; od: # R. J. Mathar, Jun 21 2009

CROSSREFS

Sequence in context: A114385 A144863 A058042 this_sequence A157711 A159863 A054037

Adjacent sequences: A161783 A161784 A161785 this_sequence A161787 A161788 A161789

KEYWORD

nonn,base

AUTHOR

Ki Punches (ki1212(AT)pocketmail.com), Jun 19 2009

EXTENSIONS

Edited and corrected by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jun 21 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research