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!)
A185684 Irregular triangle, read by rows, of primes with prefix n and digits "3" appended, otherwise 0. 8
13, 23, 233, 2333, 23333, 0, 43, 433, 53, 0, 73, 733, 7333, 83, 0, 103, 1033, 10333, 103333, 113, 0, 0, 0, 0, 163, 173, 1733, 17333, 0, 193, 1933, 19333, 0, 0, 223, 233, 2333, 23333, 0, 0, 263, 2633, 0, 283, 2833, 293, 0, 313, 0, 0, 0, 353, 3533, 0, 373, 3733, 383, 3833, 38333 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Row n ends when a composite number is found.
LINKS
EXAMPLE
In row n=2, for k=1..4, a(2,k) = {23, 233, 2333, 23333} are in the table.
MAPLE
with(numtheory): for n from 1 to 100 do:a0:=n:id:=0:c:=0:for k from 1 to 20
while (id=0) do:a1:=a0*10+3:if type(a1, prime)=true then a0:=a1:printf(`%d, `, a0):c:=c+1:else
id:=1:fi:od:if c=0 then printf(`%d, `, 0):else fi:od:
MATHEMATICA
Reap[Do[cnt = 0; d = IntegerDigits[n]; While[p = FromDigits[AppendTo[d, 3]]; PrimeQ[p], cnt++; Sow[p]]; If[cnt == 0, Sow[0]], {n, 61}]][[2, 1]] (* T. D. Noe, Feb 10 2011 *)
CROSSREFS
Sequence in context: A299361 A089768 A300602 * A018945 A018958 A119410
KEYWORD
nonn,base,less,tabf
AUTHOR
Michel Lagneau, Feb 10 2011
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 April 24 04:14 EDT 2024. Contains 371918 sequences. (Running on oeis4.)