login

Revision History for A078190

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

Showing entries 1-10 | older changes
Primes of the form A004154(n) - 1.
(history; published version)
#13 by Jon E. Schoenfield at Fri Aug 07 02:40:21 EDT 2015
STATUS

editing

approved

#12 by Jon E. Schoenfield at Fri Aug 07 02:40:19 EDT 2015
MAPLE

A004154 := proc(n) option remember ; local m ; if n <= 1 then RETURN(1) ; else m := A004154(n-1)*n ; while m mod 10 = 0 do m := m /10 ; end ; RETURN(m) ; fi ; end: n := 1 ; while true do f := A004154(n) : if isprime(f-1) then printf("%d, ", f-1) ; fi ; n := n+1 : od : - _# _R. J. Mathar_, Feb 27 2007

STATUS

approved

editing

#11 by N. J. A. Sloane at Tue Oct 01 17:57:32 EDT 2013
AUTHOR

_Cino Hilliard (hillcino368(AT)gmail.com), _, Dec 23 2002

Discussion
Tue Oct 01
17:57
OEIS Server: https://oeis.org/edit/global/1955
#10 by Charles R Greathouse IV at Mon May 13 01:54:06 EDT 2013
LINKS

_Charles R Greathouse IV_, , <a href="/A078190/b078190.txt">Table of n, a(n) for n = 1..17</a>

Discussion
Mon May 13
01:54
OEIS Server: https://oeis.org/edit/global/1915
#9 by Charles R Greathouse IV at Mon May 13 01:48:16 EDT 2013
LINKS

_Charles R Greathouse IV, _, <a href="/A078190/b078190.txt">Table of n, a(n) for n = 1..17</a>

PROG

(PARI) v=[]; for(n=1, 500, if(ispseudoprime(t=n!/10^valuation(n!, 5)-1), v=concat(v, t))); v \\ _Charles R Greathouse IV, _, Feb 14 2011

Discussion
Mon May 13
01:48
OEIS Server: https://oeis.org/edit/global/1914
#8 by Russ Cox at Fri Mar 30 17:38:48 EDT 2012
MAPLE

A004154 := proc(n) option remember ; local m ; if n <= 1 then RETURN(1) ; else m := A004154(n-1)*n ; while m mod 10 = 0 do m := m /10 ; end ; RETURN(m) ; fi ; end: n := 1 ; while true do f := A004154(n) : if isprime(f-1) then printf("%d, ", f-1) ; fi ; n := n+1 : od : - _R. J. Mathar (mathar(AT)strw.leidenuniv.nl), _, Feb 27 2007

EXTENSIONS

More terms from _R. J. Mathar (mathar(AT)strw.leidenuniv.nl), _, Feb 27 2007

Discussion
Fri Mar 30
17:38
OEIS Server: https://oeis.org/edit/global/190
#7 by Charles R Greathouse IV at Mon Feb 14 03:27:06 EST 2011
STATUS

proposed

approved

#6 by Charles R Greathouse IV at Mon Feb 14 03:27:01 EST 2011
DATA

5, 23, 11, 71, 503, 62270207, 871782911, 121645100408831, 243290200817663, 304888344611713860501503, 137637530912263450463159795815809023, 93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916863

LINKS

Charles R Greathouse IV, <a href="/A078190/b078190.txt">Table of n, a(n) for n = 1..17</a>

PROG

(PARI) v=[]; for(n=1, 500, if(ispseudoprime(t=n!/10^valuation(n!, 5)-1), v=concat(v, t))); v \\ Charles R Greathouse IV, Feb 14 2011

KEYWORD

easy,nonn

nonn

STATUS

approved

proposed

#5 by N. J. A. Sloane at Fri Feb 27 03:00:00 EST 2009
COMMENTS

More precisely, scan A004154, subtract 1, and record the answer if it is a prime. The sequence is not monotonic.

KEYWORD

easy,nonn,new

#4 by N. J. A. Sloane at Sun Jun 29 03:00:00 EDT 2008
MAPLE

A004154 := proc(n) option remember ; local m ; if n <= 1 then RETURN(1) ; else m := A004154(n-1)*n ; while m mod 10 = 0 do m := m /10 ; end ; RETURN(m) ; fi ; end: n := 1 ; while true do f := A004154(n) : if isprime(f-1) then printf("%d, ", f-1) ; fi ; n := n+1 : od : - Richard R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 27 2007

KEYWORD

easy,nonn,new

EXTENSIONS

More terms from Richard R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 27 2007