login

Revision History for A092624

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Numbers with exactly two prime digits.
(history; published version)
#10 by Charles R Greathouse IV at Sat Jul 13 12:03:12 EDT 2013
LINKS

_Reinhard Zumkeller_, , <a href="/A092624/b092624.txt">Table of n, a(n) for n = 1..10000</a>

Discussion
Sat Jul 13
12:03
OEIS Server: https://oeis.org/edit/global/1934
#9 by N. J. A. Sloane at Fri Feb 22 21:37:55 EST 2013
LINKS

_Reinhard Zumkeller, _, <a href="/A092624/b092624.txt">Table of n, a(n) for n = 1..10000</a>

PROG

-- _Reinhard Zumkeller, _, Jul 19 2011

Discussion
Fri Feb 22
21:37
OEIS Server: https://oeis.org/edit/global/1866
#8 by N. J. A. Sloane at Fri Feb 22 21:28:45 EST 2013
COMMENTS

A193238(a(n))=2; subsequence of A118950. [_Reinhard Zumkeller, _, Jul 19 2011]

Discussion
Fri Feb 22
21:28
OEIS Server: https://oeis.org/edit/global/1865
#7 by Russ Cox at Sat Mar 31 14:40:00 EDT 2012
AUTHOR

_Jani Melik (jani_melik(AT)hotmail.com), _, Apr 11 2004

Discussion
Sat Mar 31
14:40
OEIS Server: https://oeis.org/edit/global/936
#6 by Bruno Berselli at Thu Jul 21 10:09:31 EDT 2011
STATUS

proposed

approved

#5 by Reinhard Zumkeller at Tue Jul 19 06:31:11 EDT 2011
STATUS

editing

proposed

#4 by Reinhard Zumkeller at Tue Jul 19 06:06:26 EDT 2011
COMMENTS

A193238(a(n))=2; subsequence of A118950. [Reinhard Zumkeller, Jul 19 2011]

LINKS

Reinhard Zumkeller, <a href="/A092624/b092624.txt">Table of n, a(n) for n = 1..10000</a>

PROG

(Haskell)

import Data.List (elemIndices)

a092624 n = a092624_list !! (n-1)

a092624_list = elemIndices 2 a193238_list

-- Reinhard Zumkeller, Jul 19 2011

CROSSREFS
STATUS

approved

editing

#3 by Charles R Greathouse IV at Sun Nov 14 19:54:03 EST 2010
STATUS

proposed

approved

#2 by Charles R Greathouse IV at Sun Nov 14 19:54:01 EST 2010
NAME

Numbers with exactly two prime digits.

KEYWORD

nonn,base,new

STATUS

approved

proposed

#1 by N. J. A. Sloane at Sat Jun 12 03:00:00 EDT 2004
NAME

Numbers with two prime digits.

DATA

22, 23, 25, 27, 32, 33, 35, 37, 52, 53, 55, 57, 72, 73, 75, 77, 122, 123, 125, 127, 132, 133, 135, 137, 152, 153, 155, 157, 172, 173, 175, 177, 202, 203, 205, 207, 212, 213, 215, 217, 220, 221, 224, 226, 228, 229, 230, 231, 234, 236, 238, 239, 242, 243, 245

OFFSET

1,1

EXAMPLE

25 has two prime digits, 2 and 5;

207 has two prime digits, 2 and 7.

MAPLE

stev_sez:=proc(n) local i, tren, st, ans, anstren; ans:=[ ]: anstren:=[ ]: tren:=n: for i while (tren>0) do st:=round( 10*frac(tren/10) ): ans:=[ op(ans), st ]: tren:=trunc(tren/10): end do; for i from nops(ans) to 1 by -1 do anstren:=[ op(anstren), op(i, ans) ]; od; RETURN(anstren); end: ts_stpf:=proc(n) local i, stpf, ans; ans:=stev_sez(n): stpf:=0: for i from 1 to nops(ans) do if (isprime(op(i, ans))='true') then stpf:=stpf+1; # number of prime digits fi od; RETURN(stpf) end: ts_pr_nd:=proc(n) local i, stpf, ans, ans1, tren; ans:=[ ]: stpf:=0: tren:=1: for i from 1 to n do if ( ts_stpf(i) = 2) then ans:=[ op(ans), i ]: tren:=tren+1; fi od; RETURN(ans) end: ts_pr_nd(500);

CROSSREFS
KEYWORD

nonn

AUTHOR

Jani Melik (jani_melik(AT)hotmail.com), Apr 11 2004

STATUS

approved