OFFSET
1,2
COMMENTS
A triangular array is defined where the n-th row contains n primes (wherever possible) with digit sum n:
-
2 11
3 - -
13 31 103 211
5 23 41 113 131
- - - - - -
7 43 61 151 223 241 313
...The sequence contains the rightmost term of the n-th row, a zero if the row is empty. - Amarnath Murthy, Apr 12 2003
FORMULA
a(3n) = 0.
EXAMPLE
a(7) = 313, 313 is the 7th prime with digit sum 7. The smaller six primes are 7, 43, 61, 151, 223, and 241.
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Amarnath Murthy, Sep 19 2002
EXTENSIONS
More terms from David Wasserman, Jan 16 2005
a(7) corrected by Sean A. Irvine, Feb 16 2025
STATUS
approved
