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!)
A106807 Primes with digit sum = 67. 5
59899999, 69899899, 69899989, 69979999, 69997999, 69999799, 77899999, 78997999, 78998989, 78999889, 78999979, 79699999, 79879999, 79889899, 79979899, 79979989, 79988899, 79989979, 79996999, 79997899, 79997989 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
499999909 is the smallest term that contains 0 as a digit. - Altug Alkan, Mar 25 2018
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000 (first 128 terms from Vincenzo Librandi)
MAPLE
F:= proc(t, d)
if d = 1 then
if t<=9 then return [t] else return [] fi
fi;
if t > 9*d then return [] fi;
[seq(op(map(x -> a*10^(d-1)+x, procname(t-a, d-1))), a=0..min(9, t))]
end proc:
select(isprime, F(67, 8)); # Robert Israel, Mar 25 2018
MATHEMATICA
Select[Prime[Range[600000]], Total[IntegerDigits[#]]==67 &] (* Vincenzo Librandi, Jul 09 2014 *)
PROG
(Magma) [p: p in PrimesUpTo(90000000) | &+Intseq(p) eq 67]; // Vincenzo Librandi, Jul 09 2014
(PARI) isok(n) = isprime(n) && (sumdigits(n) == 67); \\ Altug Alkan, Mar 25 2018
CROSSREFS
Cf. similar sequences listed in A244018.
Sequence in context: A238355 A104329 A104333 * A213354 A186908 A244918
KEYWORD
nonn,base
AUTHOR
Zak Seidov, May 18 2005
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 20 10:35 EDT 2024. Contains 371827 sequences. (Running on oeis4.)