login

Revision History for A077719

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

Showing all changes.
Primes which can be expressed as sum of distinct powers of 5.
(history; published version)
#10 by Alois P. Heinz at Mon May 31 09:34:37 EDT 2021
STATUS

reviewed

approved

#9 by Joerg Arndt at Mon May 31 09:11:29 EDT 2021
STATUS

proposed

reviewed

#8 by Michael S. Branicky at Mon May 31 09:07:40 EDT 2021
STATUS

editing

proposed

#7 by Michael S. Branicky at Mon May 31 09:06:13 EDT 2021
DATA

5, 31, 131, 151, 631, 751, 3251, 3881, 16381, 19381, 19501, 19531, 78781, 78901, 81281, 81401, 81901, 82031, 93901, 94531, 97001, 97501, 97651, 390751, 390781, 393901, 394501, 406381, 468781, 469501, 471901, 472631, 484531, 485131, 487651, 1953151, 1953901

LINKS

Michael S. Branicky, <a href="/A077719/b077719.txt">Table of n, a(n) for n = 1..10000</a>

PROG

(Python)

from sympy import isprime

def aupton(terms):

k, alst = 0, []

while len(alst) < terms:

k += 1

t = sum(5**i*int(di) for i, di in enumerate((bin(k)[2:])[::-1]))

if isprime(t): alst.append(t)

return alst

print(aupton(37)) # Michael S. Branicky, May 31 2021

EXTENSIONS

a(36) and beyond from Michael S. Branicky, May 31 2021

STATUS

approved

editing

#6 by N. J. A. Sloane at Thu Dec 05 19:55:55 EST 2013
AUTHOR

_Amarnath Murthy (amarnath_murthy(AT)yahoo.com), _, Nov 19 2002

Discussion
Thu Dec 05
19:55
OEIS Server: https://oeis.org/edit/global/2075
#5 by Russ Cox at Sat Mar 31 10:23:02 EDT 2012
EXTENSIONS

More terms from _Sascha Kurz (sascha.kurz(AT)uni-bayreuth.de), _, Jan 03 2003

Discussion
Sat Mar 31
10:23
OEIS Server: https://oeis.org/edit/global/354
#4 by N. J. A. Sloane at Sun Jun 29 03:00:00 EDT 2008
OFFSET

0,1,1

KEYWORD

nonn,new

nonn

#3 by N. J. A. Sloane at Wed Sep 22 03:00:00 EDT 2004
KEYWORD

nonn,new

nonn

EXTENSIONS

More terms from Sascha Kurz (sascha.kurz(AT)stud.uni-bayreuth.de), Jan 03 2003

#2 by N. J. A. Sloane at Sat Sep 13 03:00:00 EDT 2003
KEYWORD

nonn,new

nonn

EXTENSIONS

More terms from Sascha Kurz (ssascha.kurz(AT)tustud.uni-bsbayreuth.de), Jan 03 2003

#1 by N. J. A. Sloane at Fri May 16 03:00:00 EDT 2003
NAME

Primes which can be expressed as sum of distinct powers of 5.

DATA

5, 31, 131, 151, 631, 751, 3251, 3881, 16381, 19381, 19501, 19531, 78781, 78901, 81281, 81401, 81901, 82031, 93901, 94531, 97001, 97501, 97651, 390751, 390781, 393901, 394501, 406381, 468781, 469501, 471901, 472631, 484531, 485131, 487651

OFFSET

0,1

COMMENTS

Primes whose base 5 representation contains only zeros and 1's.

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Nov 19 2002

EXTENSIONS

More terms from Sascha Kurz (s.kurz(AT)tu-bs.de), Jan 03 2003

STATUS

approved